From 204ea00c0afba8e244de5e13aa706f014b176259 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: Thu, 7 Mar 2024 22:59:09 +0800 Subject: [PATCH] Update translatorUI.py --- LunaTranslator/LunaTranslator/gui/translatorUI.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LunaTranslator/LunaTranslator/gui/translatorUI.py b/LunaTranslator/LunaTranslator/gui/translatorUI.py index 59935210..57dfddb3 100644 --- a/LunaTranslator/LunaTranslator/gui/translatorUI.py +++ b/LunaTranslator/LunaTranslator/gui/translatorUI.py @@ -163,7 +163,7 @@ class QUnFrameWindow(resizableframeless): iter_res_status,iter_context_class=iter_context if iter_res_status==3: self.translate_text.append(' ',hira,origin) - self.saveiterclasspointer[iter_context_class]={'curr':self.translate_text.getcurrpointer(),'start':self.translate_text.getcurrpointer()} + self.saveiterclasspointer[iter_context_class]={'curr':self.translate_text.getcurrpointer()+1,'start':self.translate_text.getcurrpointer()} else: currbefore=self.saveiterclasspointer[iter_context_class]['curr'] self.document.blockSignals(True)