mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -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):
|
def onRepeatAudio(self):
|
||||||
clearAudioQueue()
|
clearAudioQueue()
|
||||||
playFromText(self.currentCard.question)
|
if not self.currentCard.cardModel.questionInAnswer:
|
||||||
|
playFromText(self.currentCard.question)
|
||||||
if self.state != "showQuestion":
|
if self.state != "showQuestion":
|
||||||
playFromText(self.currentCard.answer)
|
playFromText(self.currentCard.answer)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue