]> git.lyx.org Git - features.git/commitdiff
revert reverted commit, sorry.
authorAbdelrazak Younes <younes@lyx.org>
Thu, 7 Feb 2008 00:12:48 +0000 (00:12 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Thu, 7 Feb 2008 00:12:48 +0000 (00:12 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22824 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiView.cpp

index 45e916ee7aaf321ca25fc1af6f89dba28719f61f..263215812aa5761c13e449701df261a5fd20a919 100644 (file)
@@ -1788,6 +1788,14 @@ bool GuiView::dispatch(FuncRequest const & cmd)
                        break;
                }
 
+               case LFUN_MENUBAR_TOGGLE:
+                       menuBar()->setVisible(!menuBar()->isVisible());
+                       break;
+
+               case LFUN_STATUSBAR_TOGGLE:
+                       statusBar()->setVisible(!statusBar()->isVisible());
+                       break;
+
                default:
                        return false;
        }