mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +00:00
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:
parent
aa46044e0c
commit
7b9594ef0f
@ -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!
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user