* cosmetic

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22267 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stefan Schimanski 2007-12-23 00:49:18 +00:00
parent fc11e21486
commit 83980d504c
2 changed files with 2 additions and 2 deletions

View File

@ -789,7 +789,7 @@ void GuiView::updateToolbars()
lyx::getStatus(FuncRequest(LFUN_CHANGES_TRACK)).onoff(true);
bool const mathmacrotemplate =
lyx::getStatus(FuncRequest(LFUN_IN_MATHMACROTEMPLATE)).enabled();
d.toolbars_->update(math, table, review, mathmacrotemplate);
} else
d.toolbars_->update(false, false, false, false);

View File

@ -645,7 +645,7 @@ bool MathMacroTemplate::getStatus(Cursor & /*cur*/, FuncRequest const & cmd,
flag.enabled(numargs_ == 0
&& type_ != MacroTypeDef);
break;
case LFUN_IN_MATHMACROTEMPLATE:
flag.enabled();
break;