From 6cc6edc935f2367081335d901bceb1f3247011e1 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, 18 Jul 2024 14:22:10 +0800 Subject: [PATCH] fix --- LunaTranslator/LunaTranslator/gui/dynalang.py | 2 ++ LunaTranslator/LunaTranslator/gui/setting_about.py | 1 + 2 files changed, 3 insertions(+) diff --git a/LunaTranslator/LunaTranslator/gui/dynalang.py b/LunaTranslator/LunaTranslator/gui/dynalang.py index f4b59fa4..27d6f3ff 100644 --- a/LunaTranslator/LunaTranslator/gui/dynalang.py +++ b/LunaTranslator/LunaTranslator/gui/dynalang.py @@ -121,6 +121,8 @@ class LGroupBox(QGroupBox, LBase): if self._text: super().setTitle(_TR(self._text)) + def changeEvent(self, e: QEvent): + super(LGroupBox, self).changeEvent(e) class LListWidgetItem(QListWidgetItem): def __init__(self, text): diff --git a/LunaTranslator/LunaTranslator/gui/setting_about.py b/LunaTranslator/LunaTranslator/gui/setting_about.py index b89a3f35..e173a578 100644 --- a/LunaTranslator/LunaTranslator/gui/setting_about.py +++ b/LunaTranslator/LunaTranslator/gui/setting_about.py @@ -303,6 +303,7 @@ def setTab_update(self, basel): ] shuominggrid = [ + ["Github", makehtml("https://github.com/HIllya51/LunaTranslator")], ["项目网站", makehtml("{main_server}/")], [ "使用说明",