Fix label text updating bug reported by Kayvan.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8191 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Martin Vermeer 2003-12-03 16:33:12 +00:00
parent 550785b004
commit 2d61ce9b85
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
* insetert.C: fix label text updating bug
2003-12-02 Angus Leeming <leeming@lyx.org>
* insetvspace.[Ch] (space): new member function. Make space_ private.

View File

@ -231,6 +231,7 @@ void InsetERT::updateStatus(bool swap) const
status_ = swap ? Collapsed : Open;
else
status_ = swap ? Open : Collapsed;
setButtonLabel();
}
}
@ -406,6 +407,7 @@ InsetERT::priv_dispatch(FuncRequest const & cmd, idx_type & idx, pos_type & pos)
case LFUN_INSET_MODIFY: {
InsetERTMailer::string2params(cmd.argument, status_);
setButtonLabel();
bv->update();
return DispatchResult(true, true);
}