mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 16:44: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"]:
|
if len(text) > globalconfig["maxlength"]:
|
||||||
text = text[: globalconfig["maxlength"]] + "……"
|
text = text[: globalconfig["maxlength"]] + "……"
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user