diff --git a/src/frontends/qt4/Toolbars.cpp b/src/frontends/qt4/Toolbars.cpp index 52f62ab22b..53f4cd6103 100644 --- a/src/frontends/qt4/Toolbars.cpp +++ b/src/frontends/qt4/Toolbars.cpp @@ -370,7 +370,7 @@ void Toolbars::readToolbarSettings(Lexer & lex) } toolbar_visibility_[name] = visibility; - if (visibility >= MATH) { + if (visibility & ALLOWAUTO) { if (ToolbarInfo const * ti = info(name)) const_cast(ti)->gui_name += " (" + _("auto") + ")";