diff --git a/src/insets/InsetCollapsable.cpp b/src/insets/InsetCollapsable.cpp index cab612a192..70e21e6e94 100644 --- a/src/insets/InsetCollapsable.cpp +++ b/src/insets/InsetCollapsable.cpp @@ -103,21 +103,16 @@ InsetCollapsable::InsetCollapsable(InsetCollapsable const & rhs) void InsetCollapsable::setLayout(BufferParams const & bp) { - // Fallback for lacking inset layout item + // FIXME: put this in the InsetLayout parsing? + // Fallback for lacking inset layout background layout_.bgcolor = Color_background; - // FIXME: it seems the default background is red! layout_ = getLayout(bp); - - - // FIXME: it seems the provided font is partly realized... so we - // re-initialize the label font in any case. - /* if (layout_.labelfont != inherit_font) return; - */ - // FIXME: it seems some insets don't properly initialise that... + // FIXME: put this in the InsetLayout parsing? + // Fallback for lacking inset layout labelfont. layout_.labelfont = sane_font; layout_.labelfont.decSize(); layout_.labelfont.decSize();