mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
fix generation of ERT labels.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10593 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
20417e1859
commit
60a14eaa93
@ -1,3 +1,8 @@
|
||||
2005-11-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
||||
|
||||
* insetert.C (setButtonLabel): use isOpen() to test whether the ert
|
||||
is collapsed.
|
||||
|
||||
2005-11-02 Martin Vermeer <martin.vermeer@hut.fi>
|
||||
|
||||
* insetbranch.C: partial fix bug 2092: branches not
|
||||
|
@ -365,7 +365,7 @@ bool InsetERT::getStatus(LCursor & cur, FuncRequest const & cmd,
|
||||
|
||||
void InsetERT::setButtonLabel()
|
||||
{
|
||||
setLabel(status() == Collapsed ? getNewLabel(_("ERT")) : _("ERT"));
|
||||
setLabel(isOpen() ? _("ERT") : getNewLabel(_("ERT")));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user