disable sub menu selection on enter when no quick fix available (IDEA-70476 )

This commit is contained in:
anna
2011-06-06 17:36:20 +04:00
parent 64502ce062
commit aed71eb5de
@@ -204,7 +204,8 @@ class IntentionListStep implements ListPopupStep<IntentionActionWithTextCaching>
return FINAL_CHOICE;
}
if (hasSubstep(action)) {
//disable sub menu selection on enter (when no quick fix available)
if (!finalChoice && hasSubstep(action)) {
return getSubStep(action, action.getToolName());
}