From 6f9e1d62ec86395ec5bbb36884c225f4d0139c40 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sat, 13 Mar 2021 14:56:32 +1000 Subject: [PATCH] deck deletion in deck list was not resetting state --- qt/aqt/deckbrowser.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qt/aqt/deckbrowser.py b/qt/aqt/deckbrowser.py index e80a7953f..d74b4b822 100644 --- a/qt/aqt/deckbrowser.py +++ b/qt/aqt/deckbrowser.py @@ -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()))