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,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