mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-66424: Roo console: incorrect behavior after typing command and Enter pressing
This commit is contained in:
+1
-1
@@ -389,7 +389,7 @@ public abstract class AbstractConsoleRunnerWithHistory {
|
||||
final EditorEx editor = myLanguageConsole.getConsoleEditor();
|
||||
final Lookup lookup = LookupManager.getActiveLookup(editor);
|
||||
e.getPresentation().setEnabled(!myProcessHandler.isProcessTerminated() &&
|
||||
(lookup == null || !lookup.isCompletion()));
|
||||
(lookup == null || !(lookup.isCompletion() && lookup.isFocused())));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user