don't stop timer on answer

This commit is contained in:
Damien Elmes 2008-11-14 02:27:01 +09:00
parent 31febf6a31
commit 26d54c8a4c
2 changed files with 1 additions and 2 deletions

View file

@ -186,7 +186,6 @@ class AnkiQt(QMainWindow):
self.updateMarkAction()
self.runHook('showQuestion')
elif state == "showAnswer":
self.currentCard.stopTimer()
self.resetButtons()
self.showEaseButtons()
self.enableCardMenuItems()

View file

@ -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)