mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
clear audio queue on replay
This commit is contained in:
parent
af9e54f036
commit
6297a8c2f5
1 changed files with 1 additions and 0 deletions
|
@ -2426,6 +2426,7 @@ Couldn't contact Anki Online. Please check your internet connection.""")
|
|||
self.mainWin.actionRecordNoiseProfile.setEnabled(False)
|
||||
|
||||
def onRepeatAudio(self):
|
||||
clearAudioQueue()
|
||||
playFromText(self.currentCard.question)
|
||||
if self.state != "showQuestion":
|
||||
playFromText(self.currentCard.answer)
|
||||
|
|
Loading…
Reference in a new issue