mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-185008 Show usages is closed on escape in usages settings dialog
This commit is contained in:
@@ -135,7 +135,9 @@ public class Windows {
|
||||
if (Arrays.stream(findShortcuts("EditorEscape"))
|
||||
.anyMatch(shortcut -> shortcut.equals(new KeyboardShortcut(KeyStroke.getKeyStrokeForEvent((KeyEvent)event), null))))
|
||||
{
|
||||
deactivationShortcutHandler.accept(id);
|
||||
if(isInActiveToolWindow(event.getSource())) {
|
||||
deactivationShortcutHandler.accept(id);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user