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: