summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoranjalijaiswal082019-06-27 16:55:22 +0530
committeranjalijaiswal082019-06-27 16:55:22 +0530
commit9e3dbaf428a899e34490cbfcb11ca7c9bb7af60a (patch)
tree21936cf8e2bc6ab8f88a6794ada500066cbb31b0 /src
parentbb9dc55b643d4452af30cf46ccca08443b79512c (diff)
downloadeSim-9e3dbaf428a899e34490cbfcb11ca7c9bb7af60a.tar.gz
eSim-9e3dbaf428a899e34490cbfcb11ca7c9bb7af60a.tar.bz2
eSim-9e3dbaf428a899e34490cbfcb11ca7c9bb7af60a.zip
Bug Fixed
Diffstat (limited to 'src')
-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.")