fix bug 127890 控制面板无线网络关闭后再次打开显示网卡名称问题

This commit is contained in:
zhangyuanyuan1 2022-07-18 09:26:39 +08:00
parent 91d3c58c83
commit 275e11c25a
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}