Merge pull request #172 from getlantern/169-macos-disable-submenu

Allows disabling items in submenu on macOS
This commit is contained in:
joesis
2020-09-14 02:20:14 -07:00
committed by GitHub
+1
View File
@@ -121,6 +121,7 @@ withParentMenuId: (int)theParentMenuId
theMenu = parentItem.submenu;
} else {
theMenu = [[NSMenu alloc] init];
[theMenu setAutoenablesItems:NO];
[parentItem setSubmenu:theMenu];
}
}