Initialize status_ in the 3rd constructor.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2494 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Vigna 2001-08-13 09:57:47 +00:00
parent aa46044e0c
commit 7b9594ef0f
2 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,7 @@
2001-08-13 Juergen Vigna <jug@sad.it>
* insetert.C (InsetERT): init status_ also in the 3rd constructor.
* insettabular.C (tabularFeatures): fixed fix where deleting the
last row didn't get the right actcell!

View File

@ -67,6 +67,10 @@ Inset * InsetERT::clone(Buffer const &, bool same_id) const
InsetERT::InsetERT(string const & contents, bool collapsed)
: InsetCollapsable(collapsed)
{
if (collapsed)
status_ = Collapsed;
else
status_ = Open;
#ifndef INHERIT_LANG
LyXFont font(LyXFont::ALL_INHERIT, latex_language);
#else