mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Do not overwrite InsetLayout font/color
This commit is contained in:
parent
c8e04eb2f4
commit
897ee2ed88
@ -217,8 +217,10 @@ bool InsetLayout::read(Lexer & lex, TextClass const & tclass,
|
||||
|
||||
lex.pushTable(elementTags);
|
||||
|
||||
labelfont_ = inherit_font;
|
||||
bgcolor_ = Color_none;
|
||||
if (labelfont_ == sane_font)
|
||||
labelfont_ = inherit_font;
|
||||
if (bgcolor_ == Color_error)
|
||||
bgcolor_ = Color_none;
|
||||
bool getout = false;
|
||||
// whether we've read the CustomPars or ForcePlain tag
|
||||
// for issuing a warning in case MultiPars comes later
|
||||
|
Loading…
Reference in New Issue
Block a user