add support if only frameworks selected

This commit is contained in:
Dmitry Avdeev
2014-01-31 16:14:30 +04:00
parent d3f57dedfc
commit 13fd492e0a
@@ -163,7 +163,9 @@ public class ProjectTypeStep extends ModuleWizardStep implements Disposable {
myConfigurationUpdater = new ModuleBuilder.ModuleConfigurationUpdater() {
@Override
public void update(@NotNull Module module, @NotNull ModifiableRootModel rootModel) {
myFrameworksPanel.addSupport(module, rootModel);
if (myCurrentCard == Cards.FRAMEWORKS) {
myFrameworksPanel.addSupport(module, rootModel);
}
}
};