summaryrefslogtreecommitdiff
path: root/src/frontEnd/ProjectExplorer.py
diff options
context:
space:
mode:
authorrahulp132020-02-16 22:56:59 +0530
committerrahulp132020-02-16 22:56:59 +0530
commit453c2dab78f81046fcbd42034a86c4e759a0ff68 (patch)
tree1e52dc08cfb0a86666372421d90502976715f35c /src/frontEnd/ProjectExplorer.py
parent3e27f0dcb8555e1708497b48ad251e93fed93b6e (diff)
downloadeSim-453c2dab78f81046fcbd42034a86c4e759a0ff68.tar.gz
eSim-453c2dab78f81046fcbd42034a86c4e759a0ff68.tar.bz2
eSim-453c2dab78f81046fcbd42034a86c4e759a0ff68.zip
workspace functionality
Diffstat (limited to 'src/frontEnd/ProjectExplorer.py')
-rw-r--r--src/frontEnd/ProjectExplorer.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/frontEnd/ProjectExplorer.py b/src/frontEnd/ProjectExplorer.py
index 54f0148f..4462c584 100644
--- a/src/frontEnd/ProjectExplorer.py
+++ b/src/frontEnd/ProjectExplorer.py
@@ -200,7 +200,7 @@ class ProjectExplorer(QtGui.QWidget):
del self.obj_appconfig.project_explorer[str(self.filePath)]
json.dump(self.obj_appconfig.project_explorer,
- open(self.obj_appconfig.dictPath, 'w'))
+ open(self.obj_appconfig.dictPath["path"], 'w'))
def refreshProject(self):
"""
@@ -224,7 +224,7 @@ class ProjectExplorer(QtGui.QWidget):
self.obj_appconfig.project_explorer[self.filePath] = filelistnew
json.dump(self.obj_appconfig.project_explorer,
- open(self.obj_appconfig.dictPath, 'w'))
+ open(self.obj_appconfig.dictPath["path"], 'w'))
def renameProject(self):
"""
@@ -246,7 +246,7 @@ class ProjectExplorer(QtGui.QWidget):
)
if ok and newBaseFileName:
print(newBaseFileName)
- print("==================")
+ print("=================")
newBaseFileName = str(newBaseFileName)
i = -1
@@ -314,7 +314,7 @@ class ProjectExplorer(QtGui.QWidget):
# save project_explorer dictionary on disk
json.dump(self.obj_appconfig.project_explorer, open(
- self.obj_appconfig.dictPath, 'w'))
+ self.obj_appconfig.dictPath["path"], 'w'))
# recreate project explorer tree
self.treewidget.clear()