From 53d040dbb1b8330faaaeb3c4196c523c7ee3cf03 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: Mon, 3 Jun 2024 14:53:24 +0800 Subject: [PATCH] ... --- LunaTranslator/LunaTranslator/gui/specialwidget.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/LunaTranslator/LunaTranslator/gui/specialwidget.py b/LunaTranslator/LunaTranslator/gui/specialwidget.py index 4346fa24..1fcb929e 100644 --- a/LunaTranslator/LunaTranslator/gui/specialwidget.py +++ b/LunaTranslator/LunaTranslator/gui/specialwidget.py @@ -358,7 +358,8 @@ class lazyscrollflow(ScrollArea): QApplication.processEvents() # 会在最大化时死锁 except: - pass + print_exc() + break @trypass def resizeandshow(self, procevent=True): @@ -518,6 +519,7 @@ class delayloadvbox(QWidget): QApplication.processEvents() except: print_exc() + break self.nowvisregion = region