deck deletion in deck list was not resetting state
This commit is contained in:
parent
a90a6ab3cd
commit
6f9e1d62ec
@ -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()))
|
||||
|
Loading…
Reference in New Issue
Block a user