mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-04-03 07:41:58 -04:00
E-book viewer: Fix using the slower/faster buttons causing a chapter skip when using the Piper neural speech backend
Fixes #3050
This commit is contained in:
parent
b49b0d3bc4
commit
40c8603c16
@ -255,7 +255,7 @@ class TTSManager(QObject):
|
||||
self.emit_state_event('begin')
|
||||
elif state is QTextToSpeech.State.Ready:
|
||||
if prev_state is QTextToSpeech.State.Speaking:
|
||||
if not self.speaking_simple_text:
|
||||
if not self.speaking_simple_text and not self._resuming_after_configure:
|
||||
if self.tracker.pop_first() and (text := self.tracker.current_text()):
|
||||
self.tts.say(text)
|
||||
else:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user