fix:delete invalde message notify.

bug link:http://172.17.66.192/biz/bug-view-85837.html
This commit is contained in:
renpeijia 2021-10-21 14:52:07 +08:00
parent b318af3e92
commit 3b03be5fcc
1 changed files with 5 additions and 2 deletions

View File

@ -836,8 +836,11 @@ void WlanPage::onConnectionStateChanged(QString uuid,
return;
}
sendApStateChangeSignal(uuid, ssid, devName, state);
wlanShowNotify(ssid, state, reason);
if (m_connectResource->isApConnection(uuid)) {
sendApStateChangeSignal(uuid, ssid, devName, state);
} else {
wlanShowNotify(ssid, state, reason);
}
if (devName != m_currentDevice) {
return;