From 7ee6032b814fee9c97d4574360b68703371dc46f Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Thu, 25 Jun 2009 05:37:01 +0900 Subject: [PATCH] fix replay audio in question --- ankiqt/ui/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ankiqt/ui/main.py b/ankiqt/ui/main.py index 9cd43816d..78e4c431b 100755 --- a/ankiqt/ui/main.py +++ b/ankiqt/ui/main.py @@ -2514,7 +2514,8 @@ it to your friends. def onRepeatAudio(self): clearAudioQueue() - if not self.currentCard.cardModel.questionInAnswer: + if (not self.currentCard.cardModel.questionInAnswer + or self.state == "showQuestion"): playFromText(self.currentCard.question) if self.state != "showQuestion": playFromText(self.currentCard.answer)