GuiApplication::resetGui(): clear out Mac nenubar before deletion, just in case.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26307 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-09-05 12:42:47 +00:00
parent 0595b725f7
commit 009bd5b8ff

View File

@ -896,6 +896,7 @@ void GuiApplication::resetGui()
return;
#ifdef Q_WS_MACX
d->global_menubar_->clear();
delete d->global_menubar_;
// Create the global default menubar which is shown for the dialogs
// and if no GuiView is visible.