mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 05:01:49 +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
@ -308,7 +308,7 @@ void ToolbarBackend::readToolbarSettings(Lexer & lex)
|
||||
else if (!compare_ascii_no_case(*cit, "right"))
|
||||
flag = ToolbarInfo::RIGHT;
|
||||
else if (!compare_ascii_no_case(*cit, "auto"))
|
||||
flag = ToolbarInfo::AUTO;
|
||||
flag = ToolbarInfo::AUTO;
|
||||
else {
|
||||
LYXERR(Debug::ANY,
|
||||
"ToolbarBackend::readToolbarSettings: unrecognised token:`"
|
||||
|
@ -209,7 +209,7 @@ void GuiToolbars::toggleToolbarState(string const & name, bool allowauto)
|
||||
&& ((flags & ToolbarInfo::MATH)
|
||||
|| (flags & ToolbarInfo::TABLE)
|
||||
|| (flags & ToolbarInfo::REVIEW)
|
||||
|| (flags & ToolbarInfo::MATHMACROTEMPLATE))) {
|
||||
|| (flags & ToolbarInfo::MATHMACROTEMPLATE))) {
|
||||
// for math etc, toggle from on -> auto
|
||||
TurnOffFlag(ON);
|
||||
TurnOnFlag(AUTO);
|
||||
|
@ -51,7 +51,7 @@ public:
|
||||
|
||||
/// Update the state of the toolbars.
|
||||
void update(bool in_math, bool in_table, bool review,
|
||||
bool in_mathmacrotemplate);
|
||||
bool in_mathmacrotemplate);
|
||||
|
||||
/// Is the Toolbar currently visible?
|
||||
bool visible(std::string const & name) const;
|
||||
|
Loading…
Reference in New Issue
Block a user