From dd08a3348619385df3db1993d58883b7c5edf576 Mon Sep 17 00:00:00 2001 From: anna Date: Mon, 9 Jul 2012 15:03:50 +0200 Subject: [PATCH] restore submenu selection when no quickfixes available; disable intention was moved from the first place (IDEA-88376) --- .../intellij/codeInsight/intention/impl/IntentionListStep.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/platform/lang-impl/src/com/intellij/codeInsight/intention/impl/IntentionListStep.java b/platform/lang-impl/src/com/intellij/codeInsight/intention/impl/IntentionListStep.java index b5759a2d63a9..87ff08ea9a15 100644 --- a/platform/lang-impl/src/com/intellij/codeInsight/intention/impl/IntentionListStep.java +++ b/platform/lang-impl/src/com/intellij/codeInsight/intention/impl/IntentionListStep.java @@ -205,8 +205,7 @@ class IntentionListStep implements ListPopupStep return FINAL_CHOICE; } - //disable sub menu selection on enter (when no quick fix available) - if (!finalChoice && hasSubstep(action)) { + if (hasSubstep(action)) { return getSubStep(action, action.getToolName()); }