mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 00:12:25 -04:00
Fix error when exporting from empty cards screen
https://forums.ankiweb.net/t/bug-copy-debug-info-button-crashes-anki-24-04-and-24-06-3/50852
This commit is contained in:
parent
23b7d63659
commit
31fe7f2c89
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ class EmptyCardsDialog(QDialog):
|
|||
|
||||
def __init__(self, mw: aqt.main.AnkiQt, report: EmptyCardsReport) -> None:
|
||||
super().__init__(mw)
|
||||
self.mw = mw.weakref()
|
||||
self.mw = mw
|
||||
self.mw.garbage_collect_on_dialog_finish(self)
|
||||
self.report = report
|
||||
self.form = aqt.forms.emptycards.Ui_Dialog()
|
||||
|
|
Loading…
Reference in a new issue