mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-22 16:37:28 +00:00
Fix mac menubar only modifying the Prefs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22601 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
68d11a0b29
commit
47f929d48d
@ -121,6 +121,12 @@ QMenu * Menus::menu(QString const & name)
|
||||
|
||||
void Menus::macxMenuBarInit(GuiView * view)
|
||||
{
|
||||
// The Mac menubar initialisation must be done only once!
|
||||
static bool done = false;
|
||||
if (done)
|
||||
return;
|
||||
done = true;
|
||||
|
||||
/* Since Qt 4.2, the qt/mac menu code has special code for
|
||||
specifying the role of a menu entry. However, it does not
|
||||
work very well with our scheme of creating menus on demand,
|
||||
|
Loading…
x
Reference in New Issue
Block a user