mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +00:00
potentially fix http://bugzilla.lyx.org/show_bug.cgi?id=5168
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26266 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b77599e213
commit
cc8653b95e
@ -897,8 +897,10 @@ void GuiApplication::resetGui()
|
||||
|
||||
// init the global menubar on Mac. This must be done after the session
|
||||
// was recovered to know the "last files".
|
||||
if (d->global_menubar_)
|
||||
if (d->global_menubar_) {
|
||||
d->global_menubar_->clear();
|
||||
d->menus_.fillMenuBar(d->global_menubar_, 0, true);
|
||||
}
|
||||
|
||||
QHash<int, GuiView *>::iterator it;
|
||||
for (it = d->views_.begin(); it != d->views_.end(); ++it) {
|
||||
|
Loading…
Reference in New Issue
Block a user