Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTill Brychcy2017-09-24 19:39:22 +0000
committerLakshmi Shanmugam2017-10-30 20:28:49 +0000
commitbebec069911a121a847f97591fa55b4431a3ad52 (patch)
treed81c70865947743838bcc5b879616d3c454b4080
parente43f105cf3854e4c83a5a286df4ab8beb163e8a0 (diff)
downloadeclipse.platform.swt-bebec069911a121a847f97591fa55b4431a3ad52.tar.gz
eclipse.platform.swt-bebec069911a121a847f97591fa55b4431a3ad52.tar.xz
eclipse.platform.swt-bebec069911a121a847f97591fa55b4431a3ad52.zip
Bug 522690 - Allow menus to work if DefaultApp.nib is not found
Change-Id: I03757215acbd8eac96be55875daffad72f3a3f1d Signed-off-by: Till Brychcy <register.eclipse@brychcy.de>
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java
index 598a85fbe1..f305f5aad1 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java
@@ -945,6 +945,7 @@ void createMainMenu () {
NSString emptyStr = NSString.string();
NSMenu mainMenu = (NSMenu)new NSMenu().alloc();
mainMenu.initWithTitle(emptyStr);
+ mainMenu.setAutoenablesItems(false);
NSMenuItem menuItem;
NSMenu appleMenu;

Back to the top