mirror of
https://github.com/ankitects/anki.git
synced 2025-12-11 05:46:55 -05:00
don't stop timer on answer
This commit is contained in:
parent
31febf6a31
commit
26d54c8a4c
2 changed files with 1 additions and 2 deletions
|
|
@ -186,7 +186,6 @@ class AnkiQt(QMainWindow):
|
|||
self.updateMarkAction()
|
||||
self.runHook('showQuestion')
|
||||
elif state == "showAnswer":
|
||||
self.currentCard.stopTimer()
|
||||
self.resetButtons()
|
||||
self.showEaseButtons()
|
||||
self.enableCardMenuItems()
|
||||
|
|
|
|||
|
|
@ -241,7 +241,7 @@ You should aim to answer each question within<br>
|
|||
return
|
||||
if not self.timer:
|
||||
return
|
||||
if self.main.state in "showQuestion":
|
||||
if self.main.state in ("showQuestion", "showAnswer"):
|
||||
t = self.main.currentCard.thinkingTime()
|
||||
if t < 60:
|
||||
self.timer.setText('00:%02d' % t)
|
||||
|
|
|
|||
Loading…
Reference in a new issue