mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-169849 Can't undo in Find in Path (after-review)
This commit is contained in:
+4
-1
@@ -651,7 +651,10 @@ public final class IdeKeyEventDispatcher implements Disposable {
|
||||
myContext.getActions().clear();
|
||||
|
||||
if (isControlEnterOnDialog(component, sc)) return myContext;
|
||||
|
||||
if ((component instanceof JTextArea || component instanceof JTextField) && sc instanceof KeyboardShortcut) {
|
||||
if (((JComponent)component).getActionForKeyStroke(((KeyboardShortcut)sc).getFirstKeyStroke()) != null) return myContext;
|
||||
}
|
||||
|
||||
boolean hasSecondStroke = false;
|
||||
|
||||
// here we try to find "local" shortcuts
|
||||
|
||||
Reference in New Issue
Block a user