mirror of
https://github.com/ankitects/anki.git
synced 2025-11-21 12:07:13 -05:00
clear current card when deck finished
This commit is contained in:
parent
d28096241a
commit
ed35093359
1 changed files with 1 additions and 0 deletions
|
|
@ -332,6 +332,7 @@ Please do not file a bug report with Anki.<br>""")
|
|||
self.switchToWelcomeScreen()
|
||||
self.disableCardMenuItems()
|
||||
elif state == "deckFinished":
|
||||
self.currentCard = None
|
||||
self.deck.s.flush()
|
||||
self.hideButtons()
|
||||
self.disableCardMenuItems()
|
||||
|
|
|
|||
Loading…
Reference in a new issue