diff options
author | Fahim | 2016-02-23 15:18:02 +0530 |
---|---|---|
committer | Fahim | 2016-02-23 15:18:02 +0530 |
commit | 2486a1dc1131d930534aa03a5b76b1259b3c52f6 (patch) | |
tree | da906647605138b7745acf8a86c4746194f89612 /src/frontEnd/Application.py | |
parent | 5e285b15b1c7058638da8a8979b8e3311215e1bf (diff) | |
download | eSim-2486a1dc1131d930534aa03a5b76b1259b3c52f6.tar.gz eSim-2486a1dc1131d930534aa03a5b76b1259b3c52f6.tar.bz2 eSim-2486a1dc1131d930534aa03a5b76b1259b3c52f6.zip |
Subject: Added Multimeter in Python Plot
Description: Added Multimeter in Python Plot
Diffstat (limited to 'src/frontEnd/Application.py')
-rwxr-xr-x | src/frontEnd/Application.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/frontEnd/Application.py b/src/frontEnd/Application.py index 82b07e9e..f17a2d80 100755 --- a/src/frontEnd/Application.py +++ b/src/frontEnd/Application.py @@ -183,7 +183,13 @@ class Application(QtGui.QMainWindow): def close_project(self): print "Close Project is called" - self.systemTrayIcon.showMessage('Close', 'Current project is Closed.') + #current_project = {"ProjectName":None} + current_project = self.obj_appconfig.current_project['ProjectName'] + if current_project==None: + pass + else: + self.obj_appconfig.current_project['ProjectName'] = None + self.systemTrayIcon.showMessage('Close', 'Current project '+os.path.basename(current_project)+' is Closed.') def new_project(self): """ |