mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
if in the study screen, just refresh instead of moving to congrats
This commit is contained in:
parent
496cab1096
commit
be93b007ab
1 changed files with 4 additions and 1 deletions
|
@ -235,7 +235,10 @@ Please do not file a bug report with Anki.<br><br>""")
|
||||||
elif state == "auto":
|
elif state == "auto":
|
||||||
self.currentCard = None
|
self.currentCard = None
|
||||||
if self.deck:
|
if self.deck:
|
||||||
return self.moveToState("getQuestion")
|
if self.state == "studyScreen":
|
||||||
|
return self.updateStudyStats()
|
||||||
|
else:
|
||||||
|
return self.moveToState("getQuestion")
|
||||||
else:
|
else:
|
||||||
return self.moveToState("noDeck")
|
return self.moveToState("noDeck")
|
||||||
# save the new & last state
|
# save the new & last state
|
||||||
|
|
Loading…
Reference in a new issue