do not attempt to calculate icon for uninitialized projects

This commit is contained in:
Eugene Zhuravlev
2010-04-05 19:42:25 +04:00
parent f2a87f17bd
commit f3d953abbb
@@ -63,7 +63,7 @@ public class RunConfigurationAction extends ComboBoxAction implements DumbAware
}
try {
if (project == null || project.isDisposed()) {
if (project == null || project.isDisposed() || !project.isInitialized()) {
//if (ProjectManager.getInstance().getOpenProjects().length > 0) {
// // do nothing if frame is not active
// return;