mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
don't replay question audio when questionInAnswer
This commit is contained in:
parent
f047f0222a
commit
76c6c3fa4d
1 changed files with 2 additions and 1 deletions
|
@ -2500,7 +2500,8 @@ it to your friends.
|
|||
|
||||
def onRepeatAudio(self):
|
||||
clearAudioQueue()
|
||||
playFromText(self.currentCard.question)
|
||||
if not self.currentCard.cardModel.questionInAnswer:
|
||||
playFromText(self.currentCard.question)
|
||||
if self.state != "showQuestion":
|
||||
playFromText(self.currentCard.answer)
|
||||
|
||||
|
|
Loading…
Reference in a new issue