From 275e11c25ac1144d6cacfa32415c11595b0196b6 Mon Sep 17 00:00:00 2001 From: zhangyuanyuan1 Date: Mon, 18 Jul 2022 09:26:39 +0800 Subject: [PATCH] =?UTF-8?q?fix=20bug=20127890=20=E6=8E=A7=E5=88=B6?= =?UTF-8?q?=E9=9D=A2=E6=9D=BF=E6=97=A0=E7=BA=BF=E7=BD=91=E7=BB=9C=E5=85=B3?= =?UTF-8?q?=E9=97=AD=E5=90=8E=E5=86=8D=E6=AC=A1=E6=89=93=E5=BC=80=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E7=BD=91=E5=8D=A1=E5=90=8D=E7=A7=B0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/wlanconnect/wlanconnect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/wlanconnect/wlanconnect.cpp b/plugins/wlanconnect/wlanconnect.cpp index 8a824af3..5ac940f7 100644 --- a/plugins/wlanconnect/wlanconnect.cpp +++ b/plugins/wlanconnect/wlanconnect.cpp @@ -272,7 +272,7 @@ void WlanConnect::initComponent() { } initNet(); - if (deviceList.isEmpty() || !m_interface->isValid()) { + if (!m_wifiSwitch->isChecked() || deviceList.isEmpty() || !m_interface->isValid()) { hideLayout(ui->availableLayout); }