From 9ef8019159954400c641a03bd4ab4ebf9cf8f423 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Tue, 21 Apr 2015 18:24:48 -0400 Subject: [PATCH] Quick OS X menu fixup. --- darwin/init.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/darwin/init.m b/darwin/init.m index c188d5d8..bf27203a 100644 --- a/darwin/init.m +++ b/darwin/init.m @@ -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];