]> git.lyx.org Git - features.git/commitdiff
Fix bug #11616
authorEnrico Forestieri <forenr@lyx.org>
Wed, 17 Jul 2019 19:28:49 +0000 (21:28 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:37 +0000 (15:48 +0200)
Do not care about branches when no package language is used.

src/insets/InsetBranch.cpp

index 88d00e641e486a7b76507d0ae40ee652badf9844..7947b8ec392f6ca8706c8b3c7f959ec6181d6d3b 100644 (file)
@@ -294,7 +294,7 @@ void InsetBranch::latex(otexstream & os, OutputParams const & runparams) const
 {
        if (producesOutput()) {
                OutputParams rp = runparams;
-               rp.inbranch = true;
+               rp.inbranch = rp.use_babel || rp.use_polyglossia;
                InsetText::latex(os, rp);
        }
 }