revert reverted commit, sorry.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22824 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-02-07 00:12:48 +00:00
parent 6efd9002d5
commit cb0e41adf7

View 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;
}