restore submenu selection when no quickfixes available; disable intention was moved from the first place (IDEA-88376)

This commit is contained in:
anna
2012-07-10 11:02:51 +02:00
parent 459a805b50
commit dd08a33486
@@ -205,8 +205,7 @@ class IntentionListStep implements ListPopupStep<IntentionActionWithTextCaching>
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());
}