Quick OS X menu fixup.

This commit is contained in:
Pietro Gagliardi 2015-04-21 18:24:48 -04:00
parent 2f1a806a31
commit 9ef8019159
1 changed files with 2 additions and 2 deletions

View File

@ -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];