mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-28 08:04:13 +08:00
issues/619
This commit is contained in:
parent
60318db02e
commit
a725a068f6
@ -316,7 +316,9 @@ class MAINUI() :
|
||||
def readcurrent(self,force=False):
|
||||
try:
|
||||
if force or globalconfig['autoread']:
|
||||
text=self.parsemayberegexreplace(globalconfig['ttscommon']['tts_repair_regex'],self.currenttext)
|
||||
if globalconfig['ttscommon']['tts_repair']:
|
||||
text=self.parsemayberegexreplace(globalconfig['ttscommon']['tts_repair_regex'],self.currentread)
|
||||
else :text=self.currentread
|
||||
self.reader.read(text)
|
||||
except:
|
||||
print_exc()
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version":"v2.41.0",
|
||||
"version":"v2.41.1",
|
||||
"themes":{
|
||||
"dark":[
|
||||
{"file":"dark1.qss","name":"PyQtDarkTheme"},
|
||||
|
Loading…
x
Reference in New Issue
Block a user