mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-196250 It is impossible to invoke "Recent files" action from the "find action" popup
This commit is contained in:
@@ -736,13 +736,15 @@ public class Switcher extends AnAction implements DumbAware {
|
||||
|
||||
@Override
|
||||
public void keyTyped(@NotNull KeyEvent e) {
|
||||
if (e.getKeyCode() == VK_ENTER) {
|
||||
navigate(e);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void keyReleased(@NotNull KeyEvent e) {
|
||||
boolean ctrl = e.getKeyCode() == CTRL_KEY;
|
||||
boolean enter = e.getKeyCode() == VK_ENTER;
|
||||
if (ctrl && isAutoHide() || enter) {
|
||||
if (ctrl && isAutoHide()) {
|
||||
navigate(e);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user