From f0ad48f990e85129908720b5deb51f0421b6753b Mon Sep 17 00:00:00 2001 From: Derek Veit Date: Sat, 22 Jun 2024 10:08:57 -0700 Subject: [PATCH] fix(gui): remove ExtraMouseButtonEventFilter when closing (#1095) Fix #1095 --- qt/app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qt/app.py b/qt/app.py index c2f74e846..eada73156 100644 --- a/qt/app.py +++ b/qt/app.py @@ -800,6 +800,8 @@ def closeEvent(self, event): if answer != QMessageBox.StandardButton.Yes: return event.ignore() + self.qapp.removeEventFilter(self.mouseButtonEventFilter) + self.config.setStrValue('qt.last_path', self.path) self.config.setProfileStrValue('qt.last_path', self.path)