mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
28fd589db7
commit
e105f248d5
@ -254,7 +254,7 @@ class TTSManager(QObject):
|
||||
elif prev_state is QTextToSpeech.State.Ready:
|
||||
self.emit_state_event('begin')
|
||||
elif state is QTextToSpeech.State.Ready:
|
||||
if prev_state == QTextToSpeech.State.Speaking:
|
||||
if prev_state is QTextToSpeech.State.Speaking:
|
||||
if not self.speaking_simple_text:
|
||||
if self.tracker.pop_first() and (text := self.tracker.current_text()):
|
||||
self.tts.say(text)
|
||||
|
Loading…
x
Reference in New Issue
Block a user