Default font for an InsetLayout should be to inherit everything.

Fixes bug #8610.
(cherry picked from commit 6e25ae3272)
This commit is contained in:
Richard Heck 2013-04-25 17:07:16 -04:00
parent f599c9bc43
commit 594dcd885a
2 changed files with 2 additions and 1 deletions

View File

@ -33,7 +33,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),

View File

@ -64,6 +64,7 @@ What's new
* LYXHTML
- Fix problem with size of superscripts and such inside footnotes (bug 8610).
* TEX2LYX