From 6e25ae327284ac52b8337ea969322d6fb304f1b5 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Thu, 25 Apr 2013 17:07:16 -0400 Subject: [PATCH] Default font for an InsetLayout should be to inherit everything. Fixes bug #8610. --- src/insets/InsetLayout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/insets/InsetLayout.cpp b/src/insets/InsetLayout.cpp index 77294856d2..aa35f50254 100644 --- a/src/insets/InsetLayout.cpp +++ b/src/insets/InsetLayout.cpp @@ -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), -- 2.39.2