From abef0a1e2550206df3a1bc480e4f82a7129718c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <101191390+HIllya51@users.noreply.github.com> Date: Sun, 2 Jun 2024 13:53:11 +0800 Subject: [PATCH] ... --- LunaTranslator/LunaTranslator/gui/selecthook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LunaTranslator/LunaTranslator/gui/selecthook.py b/LunaTranslator/LunaTranslator/gui/selecthook.py index cdd26502..465aca8d 100644 --- a/LunaTranslator/LunaTranslator/gui/selecthook.py +++ b/LunaTranslator/LunaTranslator/gui/selecthook.py @@ -386,7 +386,7 @@ class hookselect(closeashidewindow): if hook not in self.save: return row = self.save.index(hook) - output = output[:200].replace("\n", "") + output = output[:200].replace("\n", " ") colidx = 2 + (gobject.baseobject.textsource.allow_set_text_name) self.ttCombomodelmodel.item(row, colidx).setText(output)