mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
Fix another instance of "visibility >= MATH". This was forgotten in r37068.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37069 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e38c604887
commit
9b1b65665d
@ -370,7 +370,7 @@ void Toolbars::readToolbarSettings(Lexer & lex)
|
|||||||
}
|
}
|
||||||
toolbar_visibility_[name] = visibility;
|
toolbar_visibility_[name] = visibility;
|
||||||
|
|
||||||
if (visibility >= MATH) {
|
if (visibility & ALLOWAUTO) {
|
||||||
if (ToolbarInfo const * ti = info(name))
|
if (ToolbarInfo const * ti = info(name))
|
||||||
const_cast<ToolbarInfo *>(ti)->gui_name +=
|
const_cast<ToolbarInfo *>(ti)->gui_name +=
|
||||||
" (" + _("auto") + ")";
|
" (" + _("auto") + ")";
|
||||||
|
Loading…
Reference in New Issue
Block a user