Remove eventfilter on shutdown
This commit is contained in:
parent
9ccce461c9
commit
ad1ba4c1f7
@ -674,6 +674,10 @@ class Application(QApplication):
|
||||
return
|
||||
self._shutting_down = True
|
||||
log.destroy.debug("Shutting down with status {}...".format(status))
|
||||
# Remove eventfilter
|
||||
if self.modeman is not None:
|
||||
log.destroy.debug("Removing eventfilter...")
|
||||
self.removeEventFilter(self.modeman)
|
||||
# Close all tabs
|
||||
log.destroy.debug("Closing tabs...")
|
||||
self.mainwindow.tabs.shutdown()
|
||||
|
Loading…
Reference in New Issue
Block a user