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