]> git.lyx.org Git - features.git/commitdiff
Fix another instance of "visibility >= MATH". This was forgotten in r37068.
authorVincent van Ravesteijn <vfr@lyx.org>
Mon, 3 Jan 2011 12:14:44 +0000 (12:14 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Mon, 3 Jan 2011 12:14:44 +0000 (12:14 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37069 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/Toolbars.cpp

index 52f62ab22ba0b36ee96f43289c5568a19b3d8e5b..53f4cd6103dbf94fec0d135926c815bb34c527c1 100644 (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") + ")";