Fix removing of eventfilter on shutdown if not present.
This commit is contained in:
parent
f6695cac7d
commit
4abb5c8f36
@ -610,7 +610,7 @@ class Application(QApplication):
|
||||
try:
|
||||
log.destroy.debug("Removing eventfilter...")
|
||||
self.removeEventFilter(self._event_filter)
|
||||
except KeyError:
|
||||
except AttributeError:
|
||||
pass
|
||||
# Close all tabs
|
||||
for win_id in objreg.window_registry:
|
||||
|
Loading…
Reference in New Issue
Block a user