* cosmetic

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22266 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stefan Schimanski 2007-12-23 00:48:41 +00:00
parent 4267ad00cd
commit fc11e21486
3 changed files with 3 additions and 3 deletions

View File

@ -209,7 +209,7 @@ void GuiToolbars::toggleToolbarState(string const & name, bool allowauto)
&& ((flags & ToolbarInfo::MATH) && ((flags & ToolbarInfo::MATH)
|| (flags & ToolbarInfo::TABLE) || (flags & ToolbarInfo::TABLE)
|| (flags & ToolbarInfo::REVIEW) || (flags & ToolbarInfo::REVIEW)
|| (flags & ToolbarInfo::MATHMACROTEMPLATE))) { || (flags & ToolbarInfo::MATHMACROTEMPLATE))) {
// for math etc, toggle from on -> auto // for math etc, toggle from on -> auto
TurnOffFlag(ON); TurnOffFlag(ON);
TurnOnFlag(AUTO); TurnOnFlag(AUTO);

View File

@ -51,7 +51,7 @@ public:
/// Update the state of the toolbars. /// Update the state of the toolbars.
void update(bool in_math, bool in_table, bool review, void update(bool in_math, bool in_table, bool review,
bool in_mathmacrotemplate); bool in_mathmacrotemplate);
/// Is the Toolbar currently visible? /// Is the Toolbar currently visible?
bool visible(std::string const & name) const; bool visible(std::string const & name) const;