Skip to content

Commit

Permalink
Fix error when closing Find Duplicates screen early (#2669)
Browse files Browse the repository at this point in the history
  • Loading branch information
abdnh committed Sep 20, 2023
1 parent fe3d587 commit 9b8dfd2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qt/aqt/browser/find_duplicates.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ def on_click() -> None:
self.show()

def show_duplicates_report(self, dupes: list[tuple[str, list[NoteId]]]) -> None:
if sip.isdeleted(self):
return
self._dupes = dupes
if not self._dupesButton:
self._dupesButton = b = self.form.buttonBox.addButton(
Expand Down

0 comments on commit 9b8dfd2

Please sign in to comment.