mirror of
https://github.com/ankitects/anki.git
synced 2025-12-30 23:32:57 -05:00
deck deletion in deck list was not resetting state
This commit is contained in:
parent
8bf6c55d18
commit
8de6113e8a
1 changed files with 1 additions and 0 deletions
|
|
@ -320,6 +320,7 @@ class DeckBrowser:
|
|||
def on_done(fut: Future) -> None:
|
||||
self.show()
|
||||
res = fut.result() # Required to check for errors
|
||||
self.mw.reset()
|
||||
|
||||
self.mw.checkpoint(tr(TR.DECKS_DELETE_DECK))
|
||||
self.mw.taskman.with_progress(do_delete, on_done)
|
||||
|
|
|
|||
Loading…
Reference in a new issue