Merge branch '1022-build' into 'dbus-interface'
bug#86521 See merge request kylin-desktop/kylin-nm!348
This commit is contained in:
commit
7179ce76ca
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue