Quick OS X menu fixup.
This commit is contained in:
parent
2f1a806a31
commit
9ef8019159
|
@ -56,7 +56,7 @@ const char *uiInit(uiInitOptions *o)
|
||||||
[NSApp setActivationPolicy:NSApplicationActivationPolicyRegular];
|
[NSApp setActivationPolicy:NSApplicationActivationPolicyRegular];
|
||||||
[NSApp setDelegate:[uiAppDelegate new]];
|
[NSApp setDelegate:[uiAppDelegate new]];
|
||||||
|
|
||||||
if (options.Menu != NULL)
|
// always do this so we always have an application menu
|
||||||
[NSApp setMainMenu:makeMenubar()];
|
[NSApp setMainMenu:makeMenubar()];
|
||||||
|
|
||||||
// we can use a stock NSView for this
|
// we can use a stock NSView for this
|
||||||
|
|
Loading…
Reference in New Issue