update stats in study screen too

This commit is contained in:
Damien Elmes 2009-04-07 11:32:08 +09:00
parent 9418b62c7a
commit 56472da83f

View file

@ -264,9 +264,11 @@ You should aim to answer each question within<br>
def updateCount(self):
if not self.main.deck:
return
if self.state in ("showQuestion", "showAnswer"):
if self.state in ("showQuestion", "showAnswer", "studyScreen"):
self.main.deck.checkDue()
self.redraw()
if self.state == "studyScreen":
self.main.updateStudyStats()
def setTimer(self, txt):
self.timer.setText("<qt>" + txt + "&nbsp;")