From 34197146fda27a0ba16ff346386ecb78ffbb484d Mon Sep 17 00:00:00 2001 From: Zzaphkiel Date: Sat, 8 Jun 2024 17:38:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=87=AA=E5=8A=A8=20BP=20?= =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E6=97=B6=E6=B2=A1=E6=9C=89=E6=AD=A3?= =?UTF-8?q?=E7=A1=AE=E8=AE=BE=E7=BD=AE=E6=8C=89=E9=92=AE=E5=8F=AF=E7=94=A8?= =?UTF-8?q?=E6=80=A7=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/view/auxiliary_interface.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/view/auxiliary_interface.py b/app/view/auxiliary_interface.py index 3bd0160..a5891d5 100644 --- a/app/view/auxiliary_interface.py +++ b/app/view/auxiliary_interface.py @@ -1227,7 +1227,7 @@ def __initWidget(self): self.rankLabel.setStyleSheet("font: bold") # 逻辑是,必须要设置默认,才能设置具体分路和启动功能 - selected = qconfig.get(self.defaultChampionsConfigItem) != '' + selected = qconfig.get(self.defaultChampionsConfigItem) != [] checked = qconfig.get(self.enableConfigItem) timeoutChecked = qconfig.get(self.enableTimeoutCompleteCfgItem) @@ -1478,7 +1478,7 @@ def __initWidget(self): self.defaultHintLabel.setStyleSheet("font: bold") self.rankLabel.setStyleSheet("font: bold") - haveDefault = qconfig.get(self.defaultChampionsConfigItem) != '' + haveDefault = qconfig.get(self.defaultChampionsConfigItem) != [] enabled = qconfig.get(self.enableConfigItem) delayTime = qconfig.get(self.delayTimeConfigItem) friendlyEnabled = qconfig.get(self.friendlyConfigItem)