issues/619

This commit is contained in:
恍兮惚兮 2024-04-02 10:49:27 +08:00
parent 60318db02e
commit a725a068f6
2 changed files with 4 additions and 2 deletions

View File

@ -316,7 +316,9 @@ class MAINUI() :
def readcurrent(self,force=False): def readcurrent(self,force=False):
try: try:
if force or globalconfig['autoread']: 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) self.reader.read(text)
except: except:
print_exc() print_exc()

View File

@ -1,5 +1,5 @@
{ {
"version":"v2.41.0", "version":"v2.41.1",
"themes":{ "themes":{
"dark":[ "dark":[
{"file":"dark1.qss","name":"PyQtDarkTheme"}, {"file":"dark1.qss","name":"PyQtDarkTheme"},