mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
fix replay audio in question
This commit is contained in:
parent
be0ce798d6
commit
7ee6032b81
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue