Fix:#83636

This commit is contained in:
zhangjiaping 2021-10-08 13:55:59 +08:00
parent c0d2a259c2
commit 97b650dc0c
1 changed files with 2 additions and 1 deletions

View File

@ -421,7 +421,8 @@ void WlanListItem::onWlanStatusChange(QString uuid, NetworkManager::ActiveConnec
{
QString ssid, devName;
m_resource->getSsidByUuid(uuid, ssid, devName);
if (m_data->m_NetSsid == ssid) {
//有可能配置被删了获取不到ssid,所以也可以按uuid判断解决连接中点忘记网络图标还在loading的问题
if (m_data->m_NetSsid == ssid || m_data->m_connectUuid == uuid) {
qDebug() << "[WlanPage] State changed to :" << state << Q_FUNC_INFO <<__LINE__;
m_state = state;
if ((state == NetworkManager::ActiveConnection::State::Activating || state == NetworkManager::ActiveConnection::State::Deactivating)