diff --git a/src/insets/InsetCollapsable.cpp b/src/insets/InsetCollapsable.cpp index 939d1caac9..b93b7cf946 100644 --- a/src/insets/InsetCollapsable.cpp +++ b/src/insets/InsetCollapsable.cpp @@ -90,6 +90,7 @@ InsetCollapsable::InsetCollapsable(InsetCollapsable const & rhs) topx(rhs.topx), topbaseline(rhs.topbaseline), layout_(rhs.layout_), + labelstring_(rhs.labelstring_), status_(rhs.status_), openinlined_(rhs.openinlined_), autoOpen_(rhs.autoOpen_), diff --git a/src/insets/InsetFlex.cpp b/src/insets/InsetFlex.cpp index 55bdb86c52..55050544cc 100644 --- a/src/insets/InsetFlex.cpp +++ b/src/insets/InsetFlex.cpp @@ -54,9 +54,7 @@ InsetFlex::InsetFlex(BufferParams const & bp, InsetFlex::InsetFlex(InsetFlex const & in) : InsetCollapsable(in), params_(in.params_) -{ - setLayout(*in.layout_); -} +{} Inset * InsetFlex::clone() const