Don't shut down before crash dialog
This commit is contained in:
parent
c77ad57a42
commit
c21fad491a
@ -526,12 +526,6 @@ class Application(QApplication):
|
|||||||
e.__class__.__name__, e))
|
e.__class__.__name__, e))
|
||||||
objects = ""
|
objects = ""
|
||||||
|
|
||||||
# Try to shutdown gracefully
|
|
||||||
try:
|
|
||||||
self.shutdown(do_quit=False)
|
|
||||||
except Exception as e:
|
|
||||||
log.destroy.debug("Error while shutting down: {}: {}".format(
|
|
||||||
e.__class__.__name__, e))
|
|
||||||
try:
|
try:
|
||||||
self.lastWindowClosed.disconnect(self.shutdown)
|
self.lastWindowClosed.disconnect(self.shutdown)
|
||||||
except TypeError as e:
|
except TypeError as e:
|
||||||
|
Loading…
Reference in New Issue
Block a user