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,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