summaryrefslogtreecommitdiff
path: root/src/frontEnd/ProjectExplorer.py
diff options
context:
space:
mode:
authornilshah982019-06-07 18:54:35 +0530
committernilshah982019-06-13 12:15:50 +0530
commita0f738ba15264b69d9d51755569408bdd8e383b5 (patch)
tree3d472af32b57508a16dd7f81e5c54f8ccda1bf47 /src/frontEnd/ProjectExplorer.py
parentcc9bb8d5d56e64b6e6b6ff2db988ff200b9f720d (diff)
downloadeSim-a0f738ba15264b69d9d51755569408bdd8e383b5.tar.gz
eSim-a0f738ba15264b69d9d51755569408bdd8e383b5.tar.bz2
eSim-a0f738ba15264b69d9d51755569408bdd8e383b5.zip
pep8 fixes and list models bug fixed
Diffstat (limited to 'src/frontEnd/ProjectExplorer.py')
-rw-r--r--src/frontEnd/ProjectExplorer.py19
1 files changed, 12 insertions, 7 deletions
diff --git a/src/frontEnd/ProjectExplorer.py b/src/frontEnd/ProjectExplorer.py
index 77b3f124..3ee66cd3 100644
--- a/src/frontEnd/ProjectExplorer.py
+++ b/src/frontEnd/ProjectExplorer.py
@@ -132,14 +132,19 @@ class ProjectExplorer(QtGui.QWidget):
else:
self.obj_appconfig.current_project["ProjectName"] = str(
self.filePath)
- self.obj_appconfig.proc_dict
- [self.obj_appconfig.current_project['ProjectName']] = [
- ]
- if self.obj_appconfig.current_project['ProjectName'] \
- not in self.obj_appconfig.dock_dict:
+ (
+ self.obj_appconfig.
+ proc_dict[self.obj_appconfig.current_project['ProjectName']]
+ ) = []
+ if (
+ self.obj_appconfig.current_project['ProjectName'] not in
self.obj_appconfig.dock_dict
- [self.obj_appconfig.current_project['ProjectName']] = [
- ]
+ ):
+ (
+ self.obj_appconfig.
+ dock_dict[
+ self.obj_appconfig.current_project['ProjectName']]
+ ) = []
def enable_save(self):
self.save.setEnabled(True)