summaryrefslogtreecommitdiff
path: root/src/frontEnd
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontEnd')
-rwxr-xr-xsrc/frontEnd/Application.py8
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):
"""