From 56472da83f3c1e0129111f628cb325bb1e34b4dc Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 7 Apr 2009 11:32:08 +0900 Subject: [PATCH] update stats in study screen too --- ankiqt/ui/status.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ankiqt/ui/status.py b/ankiqt/ui/status.py index 831930d0e..7f6a25037 100644 --- a/ankiqt/ui/status.py +++ b/ankiqt/ui/status.py @@ -264,9 +264,11 @@ You should aim to answer each question within
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("" + txt + " ")