From 0c712628795772ae4f0db537273b92a36ac1c285 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: Sat, 4 May 2024 21:29:22 +0800 Subject: [PATCH] ... --- LunaTranslator/LunaTranslator/gui/textbrowser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LunaTranslator/LunaTranslator/gui/textbrowser.py b/LunaTranslator/LunaTranslator/gui/textbrowser.py index 452f1dc7..2e07e4eb 100644 --- a/LunaTranslator/LunaTranslator/gui/textbrowser.py +++ b/LunaTranslator/LunaTranslator/gui/textbrowser.py @@ -381,7 +381,7 @@ class Textbrowser: self.textcursor.setPosition(blockstart + s) self.textbrowser.setTextCursor(self.textcursor) tl1 = self.textbrowser.cursorRect(self.textcursor).topLeft() - print(tl1) + if (lc + linei) > len(self.yinyinglabels): _newlabels = [ QLabel(self.toplabel2)