mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
* cosmetic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22266 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4267ad00cd
commit
fc11e21486
@ -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);
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user