NetworkMenu: fix regression in access-point-removed
When changing _findNetwork with _findExistingNetwork, I changed the return value to avoid searching twice for the access point, and changed some names. I forgot to update all points where those names were used. https://bugzilla.gnome.org/show_bug.cgi?id=663278
This commit is contained in:
parent
07e7331e7b
commit
43f53a708f
@ -1326,7 +1326,7 @@ NMDeviceWireless.prototype = {
|
|||||||
this._overflowItem = null;
|
this._overflowItem = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this._networks.splice(pos, 1);
|
this._networks.splice(res.network, 1);
|
||||||
|
|
||||||
} else if (apObj.item)
|
} else if (apObj.item)
|
||||||
apObj.item.updateAccessPoints(apObj.accessPoints);
|
apObj.item.updateAccessPoints(apObj.accessPoints);
|
||||||
|
Loading…
Reference in New Issue
Block a user