Nasty mistake here.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23405 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2008-03-03 04:19:50 +00:00
parent dfd061b5af
commit 264ee9f584

View File

@ -166,9 +166,10 @@ bool InsetLayout::read(Lexer & lexrc)
needprotect_ = lexrc.getBool();
break;
case IL_FONT: {
font = lyxRead(lexrc, inherit_font);
// So: define font before labelfont
labelfont_ = font;
font_ = lyxRead(lexrc, inherit_font);
// If you want to define labelfont, you need to do so after
// font is defined.
labelfont_ = font_;
break;
}
case IL_BGCOLOR: {