if in the study screen, just refresh instead of moving to congrats

This commit is contained in:
Damien Elmes 2009-04-29 12:49:49 +09:00
parent 496cab1096
commit be93b007ab

View file

@ -235,6 +235,9 @@ Please do not file a bug report with Anki.<br><br>""")
elif state == "auto":
self.currentCard = None
if self.deck:
if self.state == "studyScreen":
return self.updateStudyStats()
else:
return self.moveToState("getQuestion")
else:
return self.moveToState("noDeck")