]> git.lyx.org Git - lyx.git/commitdiff
GuiApplication::resetGui(): clear out Mac nenubar before deletion, just in case.
authorAbdelrazak Younes <younes@lyx.org>
Fri, 5 Sep 2008 12:42:47 +0000 (12:42 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Fri, 5 Sep 2008 12:42:47 +0000 (12:42 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26307 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiApplication.cpp

index 6c05a87e40e8dc63131de262d1b20015cfc1cb7f..b93375fcfebbba8b96d436de62b7aee9d4b0da64 100644 (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.