]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBranch.cpp
Properly fix handling of title layouts within insets (#11787)
[lyx.git] / src / insets / InsetBranch.cpp
index 6d87af7fae15de858004f596e6af7dc75745a5f6..db987ba0d3dd3e45fbd2c0be5222db692da0ca2b 100644 (file)
@@ -311,6 +311,9 @@ void InsetBranch::latex(otexstream & os, OutputParams const & runparams) const
                OutputParams rp = runparams;
                rp.inbranch = true;
                InsetText::latex(os, rp);
+               // These need to be passed upstream
+               runparams.need_maketitle = rp.need_maketitle;
+               runparams.have_maketitle = rp.have_maketitle;
        }
 }