mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 22:42:25 -04:00
update stats in study screen too
This commit is contained in:
parent
9418b62c7a
commit
56472da83f
1 changed files with 3 additions and 1 deletions
|
@ -264,9 +264,11 @@ You should aim to answer each question within<br>
|
||||||
def updateCount(self):
|
def updateCount(self):
|
||||||
if not self.main.deck:
|
if not self.main.deck:
|
||||||
return
|
return
|
||||||
if self.state in ("showQuestion", "showAnswer"):
|
if self.state in ("showQuestion", "showAnswer", "studyScreen"):
|
||||||
self.main.deck.checkDue()
|
self.main.deck.checkDue()
|
||||||
self.redraw()
|
self.redraw()
|
||||||
|
if self.state == "studyScreen":
|
||||||
|
self.main.updateStudyStats()
|
||||||
|
|
||||||
def setTimer(self, txt):
|
def setTimer(self, txt):
|
||||||
self.timer.setText("<qt>" + txt + " ")
|
self.timer.setText("<qt>" + txt + " ")
|
||||||
|
|
Loading…
Reference in a new issue