]> git.lyx.org Git - features.git/commitdiff
small LFUN status cleanups.
authorAbdelrazak Younes <younes@lyx.org>
Sun, 4 Oct 2009 21:03:37 +0000 (21:03 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sun, 4 Oct 2009 21:03:37 +0000 (21:03 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31519 a592a061-630c-0410-9148-cb99ea01b6c8

src/LyXFunc.cpp
src/frontends/qt4/GuiView.cpp

index 2017df3ef647285c0ab79dcbe4fc90013b4e1838..fe5f5148496f0064fbb73231361a46fd739a5d33 100644 (file)
@@ -257,11 +257,9 @@ FuncStatus LyXFunc::getStatus(FuncRequest const & cmd) const
                break;
        }
 
-       case LFUN_DROP_LAYOUTS_CHOICE:
        case LFUN_CURSOR_FOLLOWS_SCROLLBAR_TOGGLE:
        case LFUN_REPEAT:
        case LFUN_PREFERENCES_SAVE:
-       case LFUN_INSET_EDIT:
        case LFUN_BUFFER_SAVE_AS_DEFAULT:
                // these are handled in our dispatch()
                break;
index 736b9d81baf2094b2cfaae6fd0d514ccce526eef..06d0ad1cca7421667cf5cc612a3bae79dac6177f 100644 (file)
@@ -1277,6 +1277,10 @@ bool GuiView::getStatus(FuncRequest const & cmd, FuncStatus & flag)
                        flag.setOnOff(t->isVisible());
                break;
 
+       case LFUN_DROP_LAYOUTS_CHOICE:
+               enable = buf; 
+               break;
+
        case LFUN_UI_TOGGLE:
                flag.setOnOff(isFullScreen());
                break;