mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 18:24:48 +00:00
QLMenubar.C: Fix potential MACX crash on menubar initialisation.
The MACX specific menubar hack present in qt2 frontend is still not ported to the qt4 frontend. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13376 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
369fe1ab82
commit
5ea9a78905
@ -165,7 +165,7 @@ void QLMenubar::macxMenuBarInit()
|
|||||||
menubackend_.specialMenu("LyX");
|
menubackend_.specialMenu("LyX");
|
||||||
// make sure that the special entries are added to the first
|
// make sure that the special entries are added to the first
|
||||||
// menu even before this menu has been opened.
|
// menu even before this menu has been opened.
|
||||||
name_map_[menubackend_.getMenubar().begin()->submenuname()]->update();
|
//name_map_[menubackend_.getMenubar().begin()->submenuname()]->update();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user