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; return;
} }
sendApStateChangeSignal(uuid, ssid, devName, state); if (m_connectResource->isApConnection(uuid)) {
wlanShowNotify(ssid, state, reason); sendApStateChangeSignal(uuid, ssid, devName, state);
} else {
wlanShowNotify(ssid, state, reason);
}
if (devName != m_currentDevice) { if (devName != m_currentDevice) {
return; return;