mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
make sure to reset after deleting empty cards
https://anki.tenderapp.com/discussions/private/5067-anki-was-unable-to-open-your-file
This commit is contained in:
parent
05e90bcd23
commit
44fd50facb
1 changed files with 1 additions and 0 deletions
|
@ -82,6 +82,7 @@ class EmptyCardsDialog(QDialog):
|
|||
finally:
|
||||
self.close()
|
||||
tooltip(tr(TR.EMPTY_CARDS_DELETED_COUNT, cards=count))
|
||||
self.mw.reset()
|
||||
|
||||
self.mw.taskman.run_in_background(delete, on_done)
|
||||
|
||||
|
|
Loading…
Reference in a new issue