don't group plugin specific actions on new welcome screen

This commit is contained in:
Konstantin Bulenkov
2014-11-23 13:25:36 +01:00
parent a2c6ecbe4e
commit 852cba3b01
@@ -31,7 +31,12 @@ public class PluginSpecificProjectsStep extends DefaultActionGroup implements Du
super("Plugin-specific", true);
getTemplatePresentation().setIcon(AllIcons.Nodes.PluginLogo);
for (DirectoryProjectGenerator generator : projectGenerators) {
add(new ProjectSpecificAction(callback, generator, isWelcomeScreen));
ProjectSpecificAction action = new ProjectSpecificAction(callback, generator, isWelcomeScreen);
if (isWelcomeScreen) {
addAll(action.getChildren(null));
} else {
add(action);
}
}
}
}