mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Fix error when closing Find Duplicates screen early (#2669)
This commit is contained in:
parent
fe3d587f48
commit
9b8dfd2860
1 changed files with 2 additions and 0 deletions
|
@ -79,6 +79,8 @@ class FindDuplicatesDialog(QDialog):
|
||||||
self.show()
|
self.show()
|
||||||
|
|
||||||
def show_duplicates_report(self, dupes: list[tuple[str, list[NoteId]]]) -> None:
|
def show_duplicates_report(self, dupes: list[tuple[str, list[NoteId]]]) -> None:
|
||||||
|
if sip.isdeleted(self):
|
||||||
|
return
|
||||||
self._dupes = dupes
|
self._dupes = dupes
|
||||||
if not self._dupesButton:
|
if not self._dupesButton:
|
||||||
self._dupesButton = b = self.form.buttonBox.addButton(
|
self._dupesButton = b = self.form.buttonBox.addButton(
|
||||||
|
|
Loading…
Reference in a new issue