From 009bd5b8ffcdea16873596566189444fd726168f Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Fri, 5 Sep 2008 12:42:47 +0000 Subject: [PATCH] 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 --- src/frontends/qt4/GuiApplication.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/frontends/qt4/GuiApplication.cpp b/src/frontends/qt4/GuiApplication.cpp index 6c05a87e40..b93375fcfe 100644 --- a/src/frontends/qt4/GuiApplication.cpp +++ b/src/frontends/qt4/GuiApplication.cpp @@ -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.