From 3291b73955641525427639f28422c465b132ca21 Mon Sep 17 00:00:00 2001 From: fahim Date: Mon, 13 Apr 2015 15:45:15 +0530 Subject: Subject: Closing all App error Description: Handle exception while closing application --- src/frontEnd/Application.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/frontEnd/Application.py') 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): -- cgit