mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
550785b004
commit
2d61ce9b85
@ -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.
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user