fixed PY-13268 New Project: Do not show select project type step in Community Edition

This commit is contained in:
Ekaterina Tuzova
2014-07-31 13:57:18 +04:00
parent 43124f902e
commit cbc4871ac2
@@ -166,6 +166,9 @@ public class PyCharmNewProjectStep extends DefaultActionGroup implements DumbAwa
add(action);
final DirectoryProjectGenerator[] generators = Extensions.getExtensions(DirectoryProjectGenerator.EP_NAME);
if (generators.length == 0) {
action.setPopup(false);
}
Arrays.sort(generators, new Comparator<DirectoryProjectGenerator>() {
@Override
public int compare(DirectoryProjectGenerator o1, DirectoryProjectGenerator o2) {