Fix copy&paste of Insets.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21397 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-11-03 00:56:48 +00:00
parent 85f80979fc
commit a3f8b0f171
2 changed files with 2 additions and 3 deletions

View File

@ -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_),

View File

@ -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