Default font for an InsetLayout should be to inherit everything.

Fixes bug #8610.
This commit is contained in:
Richard Heck 2013-04-25 17:07:16 -04:00
parent 7ade656670
commit 6e25ae3272

View File

@ -34,7 +34,7 @@ namespace lyx {
InsetLayout::InsetLayout() :
name_(from_ascii("undefined")), lyxtype_(STANDARD),
labelstring_(from_ascii("UNDEFINED")), contentaslabel_(false),
decoration_(DEFAULT), latextype_(NOLATEXTYPE), font_(sane_font),
decoration_(DEFAULT), latextype_(NOLATEXTYPE), font_(inherit_font),
labelfont_(sane_font), bgcolor_(Color_error),
htmlforcecss_ (false), htmlisblock_(true),
multipar_(true), custompars_(true), forceplain_(false),