deck deletion in deck list was not resetting state

This commit is contained in:
Damien Elmes 2021-03-13 14:56:32 +10:00
parent a90a6ab3cd
commit 6f9e1d62ec

View File

@ -309,6 +309,7 @@ class DeckBrowser:
return self.mw.col.decks.remove([did])
def on_done(fut: Future) -> None:
self.mw.reset()
self.mw.update_undo_actions()
self.show()
tooltip(tr(TR.BROWSING_CARDS_DELETED, count=fut.result()))