From 8870adf528df753314543e0f47e424bb6aff3c0a Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sat, 27 Nov 2010 22:41:05 +0900 Subject: [PATCH] if exiting a custom scheduler, need to reset to update counts --- ankiqt/ui/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ankiqt/ui/main.py b/ankiqt/ui/main.py index cdbfbb0c8..f863b777d 100755 --- a/ankiqt/ui/main.py +++ b/ankiqt/ui/main.py @@ -847,6 +847,7 @@ Debug info:\n%s""") % traceback.format_exc(), help="DeckErrors") if self.deck is not None: if self.deck.finishScheduler: self.deck.finishScheduler() + self.deck.reset() # update counts for d in self.browserDecks: if d['path'] == self.deck.path: