From: Jürgen Vigna Date: Mon, 13 Aug 2001 09:57:47 +0000 (+0000) Subject: Initialize status_ in the 3rd constructor. X-Git-Tag: 1.6.10~20851 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=7b9594ef0fe3fe3daacf27cc31bf7886674e8d98;p=features.git Initialize status_ in the 3rd constructor. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2494 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/insets/ChangeLog b/src/insets/ChangeLog index a19f05650e..8fdb300624 100644 --- a/src/insets/ChangeLog +++ b/src/insets/ChangeLog @@ -1,5 +1,7 @@ 2001-08-13 Juergen Vigna + * 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! diff --git a/src/insets/insetert.C b/src/insets/insetert.C index 628e13c8e9..3749b647d9 100644 --- a/src/insets/insetert.C +++ b/src/insets/insetert.C @@ -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