Merge branch '1022-build' into 'dbus-interface'

bug#86521

See merge request kylin-desktop/kylin-nm!348
This commit is contained in:
何 朴尧 2021-10-22 05:34:30 +00:00
commit 7179ce76ca
1 changed files with 5 additions and 1 deletions

View File

@ -476,8 +476,12 @@ void WlanListItem::updateConnectState(ConnectState state)
{
m_connectState = state;
if (Deactivated == state || Activated == state) {
if (Activated == state) {
m_netButton->stopLoading();
m_netButton->setActive(true);
} else if(Deactivated == state) {
m_netButton->stopLoading();
m_netButton->setActive(false);
} else {
m_netButton->startLoading();
}