mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-24 20:38:14 +00:00
8007006: [macosx] Closing subwindow loses main window menus
Reviewed-by: anthony
This commit is contained in:
parent
294ab2b404
commit
d843dec3b7
@ -813,9 +813,9 @@ JNF_COCOA_ENTER(env);
|
||||
if ([nsWindow isKeyWindow]) [window.javaMenuBar deactivate];
|
||||
window.javaMenuBar = menuBar;
|
||||
|
||||
// if ([self isKeyWindow]) {
|
||||
[CMenuBar activate:window.javaMenuBar modallyDisabled:NO];
|
||||
// }
|
||||
if ([nsWindow isKeyWindow]) {
|
||||
[CMenuBar activate:window.javaMenuBar modallyDisabled:NO];
|
||||
}
|
||||
}];
|
||||
|
||||
JNF_COCOA_EXIT(env);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user