mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Do not process key events by speed search if it is disabled
Consider "ActionGroupPopup" with disabled speed search and enabled mnemonics. Speed search pattern editor is not shown, but key events were still processed by speed search, thus preventing correct mnemonics processing.
This commit is contained in:
@@ -64,7 +64,7 @@ public class SpeedSearch extends SpeedSearchSupply implements KeyListener {
|
||||
}
|
||||
|
||||
public void processKeyEvent(KeyEvent e) {
|
||||
if (e.isConsumed()) return;
|
||||
if (e.isConsumed() || !myEnabled) return;
|
||||
|
||||
String old = myString;
|
||||
if (e.getID() == KeyEvent.KEY_PRESSED) {
|
||||
|
||||
Reference in New Issue
Block a user