mirror of
https://github.com/ankitects/anki.git
synced 2025-09-22 07:52:24 -04:00
forget last card when moving to state 'auto'
This commit is contained in:
parent
1621092741
commit
e9ae61a5fd
1 changed files with 1 additions and 0 deletions
|
@ -281,6 +281,7 @@ Please do not file a bug report with Anki.<br>""")
|
|||
return self.moveToState("noDeck")
|
||||
elif state == "auto":
|
||||
self.currentCard = None
|
||||
self.lastCard = None
|
||||
if self.deck:
|
||||
if self.state == "studyScreen":
|
||||
return self.moveToState("studyScreen")
|
||||
|
|
Loading…
Reference in a new issue