fix bug 127890 控制面板无线网络关闭后再次打开显示网卡名称问题
This commit is contained in:
parent
91d3c58c83
commit
275e11c25a
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue