mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix invalid warning for use-shortcut-of actions (IDEA-70230 [Cmd]+[W] does not work in Keymap to close current tab)
This commit is contained in:
@@ -858,6 +858,11 @@ public class KeymapImpl implements Keymap, ExternalizableScheme {
|
||||
continue;
|
||||
}
|
||||
|
||||
final String useShortcutOf = myKeymapManager.getActionBinding(id);
|
||||
if (useShortcutOf != null && useShortcutOf.equals(actionId)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Shortcut[] shortcuts = getShortcuts(id);
|
||||
for (Shortcut shortcut1 : shortcuts) {
|
||||
if (!(shortcut1 instanceof KeyboardShortcut)) {
|
||||
|
||||
Reference in New Issue
Block a user