mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
deck deletion in deck list was not resetting state
This commit is contained in:
parent
a90a6ab3cd
commit
6f9e1d62ec
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue