mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Windows: Fix tts config dialog not showing initial voice selection correctly if not the system default voice
This commit is contained in:
parent
621eeab6d1
commit
3356597218
@ -59,7 +59,7 @@ class VoicesModel(QAbstractTableModel):
|
|||||||
if v != self.system_default_voice:
|
if v != self.system_default_voice:
|
||||||
for i, x in enumerate(self.current_voices):
|
for i, x in enumerate(self.current_voices):
|
||||||
if x[4] == v:
|
if x[4] == v:
|
||||||
r = i + i
|
r = i + 1
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user