mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 06:50:54 +07:00
IDEA-315910 don't process key-events by NSMenu items
GitOrigin-RevId: 28b8d792bfe65bf8a468e17a199ca9445155c35f
This commit is contained in:
committed by
intellij-monorepo-bot
parent
97f6055b97
commit
ef91229aeb
Binary file not shown.
@@ -94,6 +94,13 @@ static bool sUpdateInProgress = false; // used only in AppKit
|
||||
}
|
||||
}
|
||||
|
||||
- (BOOL)menuHasKeyEquivalent:(NSMenu *)menu
|
||||
forEvent:(NSEvent *)event
|
||||
target:(id _Nullable *)target
|
||||
action:(SEL _Nullable *)action {
|
||||
return NO;
|
||||
}
|
||||
|
||||
//
|
||||
// Other methods
|
||||
//
|
||||
@@ -239,10 +246,8 @@ Java_com_intellij_ui_mac_screenmenu_Menu_nativeInsertItem
|
||||
}
|
||||
|
||||
|
||||
|
||||
@interface MenuRefiller : NSObject {
|
||||
@public
|
||||
|
||||
Menu * menu;
|
||||
jsize length;
|
||||
long * newItemsPtrs;
|
||||
|
||||
Reference in New Issue
Block a user