From 4981e7b4a1cfb2e4d492e9d9c50687f3643a8cb5 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: Fri, 28 Jun 2024 00:10:11 +0800 Subject: [PATCH] fix --- LunaTranslator/LunaTranslator/metadata/bangumi.py | 2 +- LunaTranslator/LunaTranslator/metadata/vndb.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/LunaTranslator/LunaTranslator/metadata/bangumi.py b/LunaTranslator/LunaTranslator/metadata/bangumi.py index 312d05be..87579451 100644 --- a/LunaTranslator/LunaTranslator/metadata/bangumi.py +++ b/LunaTranslator/LunaTranslator/metadata/bangumi.py @@ -127,7 +127,7 @@ class bgmsettings(QDialog): super().__init__(parent, Qt.WindowType.WindowCloseButtonHint) self._ref = _ref self.resize(QSize(800, 10)) - self.setWindowTitle("vndb") + self.setWindowTitle(self._ref.config_all["name"]) fl = QFormLayout(self) fl.addRow("access-token", getlineedit(_ref.config, "access-token")) btn = QPushButton(_TR("上传游戏")) diff --git a/LunaTranslator/LunaTranslator/metadata/vndb.py b/LunaTranslator/LunaTranslator/metadata/vndb.py index 145df059..052211c5 100644 --- a/LunaTranslator/LunaTranslator/metadata/vndb.py +++ b/LunaTranslator/LunaTranslator/metadata/vndb.py @@ -281,7 +281,7 @@ class vndbsettings(QDialog): super().__init__(parent, Qt.WindowType.WindowCloseButtonHint) self._ref = _ref self.resize(QSize(800, 10)) - self.setWindowTitle("vndb") + self.setWindowTitle(self._ref.config_all["name"]) fl = QFormLayout(self) fl.addRow("Token", getlineedit(_ref.config, "Token")) btn = QPushButton(_TR("上传游戏"))