mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 00:24:13 +08:00
fix
This commit is contained in:
parent
a151564faa
commit
0d3cd1a478
@ -303,7 +303,7 @@ class MAINUI:
|
||||
)
|
||||
)
|
||||
):
|
||||
if text != "":
|
||||
if text not in ("", self.currenttext):
|
||||
if len(text) > globalconfig["maxlength"]:
|
||||
text = text[: globalconfig["maxlength"]] + "……"
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user