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:
Vincent van Ravesteijn 2011-01-03 12:14:44 +00:00
parent e38c604887
commit 9b1b65665d

View File

@ -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<ToolbarInfo *>(ti)->gui_name +=
" (" + _("auto") + ")";