From 2d61ce9b85d712f18ba40eee18d82314ded7380e Mon Sep 17 00:00:00 2001 From: Martin Vermeer Date: Wed, 3 Dec 2003 16:33:12 +0000 Subject: [PATCH] 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 --- src/insets/ChangeLog | 4 ++++ src/insets/insetert.C | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/insets/ChangeLog b/src/insets/ChangeLog index 1a79f265ae..1ddaaa2627 100644 --- a/src/insets/ChangeLog +++ b/src/insets/ChangeLog @@ -1,3 +1,7 @@ +2003-12-03 Martin Vermeer + + * insetert.C: fix label text updating bug + 2003-12-02 Angus Leeming * insetvspace.[Ch] (space): new member function. Make space_ private. diff --git a/src/insets/insetert.C b/src/insets/insetert.C index 5113d04c68..f6712daf8e 100644 --- a/src/insets/insetert.C +++ b/src/insets/insetert.C @@ -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); }