summaryrefslogtreecommitdiff
path: root/src/frontEnd/ProjectExplorer.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontEnd/ProjectExplorer.py')
-rw-r--r--src/frontEnd/ProjectExplorer.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/frontEnd/ProjectExplorer.py b/src/frontEnd/ProjectExplorer.py
index 49fa2c60..09e756af 100644
--- a/src/frontEnd/ProjectExplorer.py
+++ b/src/frontEnd/ProjectExplorer.py
@@ -315,7 +315,8 @@ class ProjectExplorer(QtGui.QWidget):
self.treewidget.clear()
for parent, children in \
self.obj_appconfig.project_explorer.items():
- self.addTreeNode(parent, children)
+ if os.path.exists(parent):
+ self.addTreeNode(parent, children)
elif reply == "CHECKEXIST":
print("Project name already exists.")