mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 15:32:23 -04:00
if exiting a custom scheduler, need to reset to update counts
This commit is contained in:
parent
d897ff7a0b
commit
8870adf528
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue