mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
option to strip question audio when replaying answer
This commit is contained in:
parent
c308141339
commit
bae48af863
1 changed files with 5 additions and 1 deletions
|
@ -92,7 +92,11 @@ class Reviewer(object):
|
|||
if self.state == "question":
|
||||
playFromText(c.q())
|
||||
elif self.state == "answer":
|
||||
playFromText(c.q() + c.a())
|
||||
txt = ""
|
||||
if self.mw.col.conf.get("replayBoth", True):
|
||||
txt = c.q()
|
||||
txt += c.a()
|
||||
playFromText(txt)
|
||||
|
||||
# Initializing the webview
|
||||
##########################################################################
|
||||
|
|
Loading…
Reference in a new issue