network: Prioritize active / default connections over activating ones
https://bugzilla.gnome.org/show_bug.cgi?id=702536
This commit is contained in:
parent
621810c409
commit
4d34abeeef
@ -1475,7 +1475,7 @@ const NMApplet = new Lang.Class({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
this._mainConnection = activating || default_ip4 || default_ip6 || active_any || null;
|
this._mainConnection = default_ip4 || default_ip6 || active_any || activating || null;
|
||||||
|
|
||||||
if (this._mainConnection) {
|
if (this._mainConnection) {
|
||||||
let dev = this._mainConnection._primaryDevice;
|
let dev = this._mainConnection._primaryDevice;
|
||||||
|
Loading…
Reference in New Issue
Block a user