]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetLayout.cpp
Fix logic error that led to bug #8777. I have no idea what I was
[lyx.git] / src / insets / InsetLayout.cpp
index 77294856d23c86c33aa74129c50dd91e16724439..aa35f502540ed02e56bd82df9cfb346bb63e29af 100644 (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),