Skip to content

Commit

Permalink
fix(gui): remove ExtraMouseButtonEventFilter when closing (bit-team#1095
Browse files Browse the repository at this point in the history
  • Loading branch information
Derek Veit committed Jun 22, 2024
1 parent 51ff9cf commit f0ad48f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qt/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit f0ad48f

Please sign in to comment.