summaryrefslogtreecommitdiff
path: root/src/frontEnd/Application.py
diff options
context:
space:
mode:
authorfahim2015-04-13 15:45:15 +0530
committerfahim2015-04-13 15:45:15 +0530
commit3291b73955641525427639f28422c465b132ca21 (patch)
tree82c806cb768a940188ba3e2dc3cdbe1ad55ee03d /src/frontEnd/Application.py
parent3e626db04e3d2fadebb649cd55e1035e7eeca395 (diff)
downloadeSim-3291b73955641525427639f28422c465b132ca21.tar.gz
eSim-3291b73955641525427639f28422c465b132ca21.tar.bz2
eSim-3291b73955641525427639f28422c465b132ca21.zip
Subject: Closing all App error
Description: Handle exception while closing application
Diffstat (limited to 'src/frontEnd/Application.py')
-rwxr-xr-xsrc/frontEnd/Application.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/frontEnd/Application.py b/src/frontEnd/Application.py
index 4c876474..e09e4113 100755
--- a/src/frontEnd/Application.py
+++ b/src/frontEnd/Application.py
@@ -112,7 +112,12 @@ class Application(QtGui.QMainWindow):
proc.terminate()
except:
pass
- self.project.close()
+ ##Just checking if open and New window is open. If yes just close it when application is closed
+ try:
+ self.project.close()
+ except:
+ pass
+
self.close()
def help_project(self):