From d4f4854d107ee5e029220d3b1edae16f00d2eed4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <1173718158@qq.com> Date: Fri, 27 Dec 2024 00:09:44 +0800 Subject: [PATCH] . --- py/LunaTranslator/gui/usefulwidget.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/py/LunaTranslator/gui/usefulwidget.py b/py/LunaTranslator/gui/usefulwidget.py index 784a4a4f..1abfb840 100644 --- a/py/LunaTranslator/gui/usefulwidget.py +++ b/py/LunaTranslator/gui/usefulwidget.py @@ -1554,6 +1554,8 @@ class auto_select_webview(QWidget): self.navigate(arg) elif action == 1: self.setHtml(arg) + else: + self.clear() for _ in self.addmenuinfo: self.internal.add_menu(*_) for _ in self.bindinfo: