]> git.lyx.org Git - features.git/commitdiff
Fix thinko: we need to apply the default font here, not the inset's font commands
authorMartin Vermeer <martin.vermeer@hut.fi>
Tue, 30 Oct 2007 16:24:52 +0000 (16:24 +0000)
committerMartin Vermeer <martin.vermeer@hut.fi>
Tue, 30 Oct 2007 16:24:52 +0000 (16:24 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21294 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetCollapsable.cpp

index 4fbf2f1469f1b4f91aeef5ccd89e3152ce9f448b..6b025ccabb74fb89eab171a1b153b3815fe555f8 100644 (file)
@@ -599,7 +599,7 @@ bool InsetCollapsable::allowMultiPar() const
 void InsetCollapsable::resetParagraphsFont()
 {
        Font font;
-       font.fontInfo() = layout_.font;
+       font.fontInfo() = sane_font;
        if (layout_.forceltr)
                font.setLanguage(latex_language);
        if (layout_.passthru) {