summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@google.com>2014-05-20 14:54:19 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-05-20 14:54:20 +0000
commita0e26b9109ad1f1bb9435c0dfef538f8c447eb4f (patch)
tree0cd209631ee3a3e573acdee4c85d8817e773dd14
parent04d5785c9b9e52522c5d3ac27dbfd41f0e91a5a6 (diff)
parent3b16e88f5d651c4e85b4c88f42a9fd1d09e606a3 (diff)
downloadcloud-a0e26b9109ad1f1bb9435c0dfef538f8c447eb4f.tar.gz
Merge "Don't create "new backend module" steps when creating project." into idea133
-rw-r--r--src/com/google/gct/idea/appengine/wizard/BackendWizardPathFactory.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/google/gct/idea/appengine/wizard/BackendWizardPathFactory.java b/src/com/google/gct/idea/appengine/wizard/BackendWizardPathFactory.java
index b30df82..63ae8af 100644
--- a/src/com/google/gct/idea/appengine/wizard/BackendWizardPathFactory.java
+++ b/src/com/google/gct/idea/appengine/wizard/BackendWizardPathFactory.java
@@ -39,7 +39,7 @@ public class BackendWizardPathFactory implements NewModuleWizardPathFactory {
@Nullable Project project,
@Nullable Icon sidePanelIcon,
@NotNull Disposable disposable) {
- if (!ApplicationManager.getApplication().isInternal()) {
+ if (project == null || !ApplicationManager.getApplication().isInternal()) {
return Collections.emptyList();
}
return Collections.<WizardPath>singleton(new BackendWizardPath(project, wizardState, updateListener, sidePanelIcon));