mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-08 10:51:03 +00:00
* cosmetic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22267 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
fc11e21486
commit
83980d504c
@ -789,7 +789,7 @@ void GuiView::updateToolbars()
|
|||||||
lyx::getStatus(FuncRequest(LFUN_CHANGES_TRACK)).onoff(true);
|
lyx::getStatus(FuncRequest(LFUN_CHANGES_TRACK)).onoff(true);
|
||||||
bool const mathmacrotemplate =
|
bool const mathmacrotemplate =
|
||||||
lyx::getStatus(FuncRequest(LFUN_IN_MATHMACROTEMPLATE)).enabled();
|
lyx::getStatus(FuncRequest(LFUN_IN_MATHMACROTEMPLATE)).enabled();
|
||||||
|
|
||||||
d.toolbars_->update(math, table, review, mathmacrotemplate);
|
d.toolbars_->update(math, table, review, mathmacrotemplate);
|
||||||
} else
|
} else
|
||||||
d.toolbars_->update(false, false, false, false);
|
d.toolbars_->update(false, false, false, false);
|
||||||
|
@ -645,7 +645,7 @@ bool MathMacroTemplate::getStatus(Cursor & /*cur*/, FuncRequest const & cmd,
|
|||||||
flag.enabled(numargs_ == 0
|
flag.enabled(numargs_ == 0
|
||||||
&& type_ != MacroTypeDef);
|
&& type_ != MacroTypeDef);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case LFUN_IN_MATHMACROTEMPLATE:
|
case LFUN_IN_MATHMACROTEMPLATE:
|
||||||
flag.enabled();
|
flag.enabled();
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user