network: Fix an accidental copy-paste error
Logic swap accidentally introduced in commit 723a1c843
.
https://bugzilla.gnome.org/show_bug.cgi?id=672272
This commit is contained in:
parent
a36de92bb9
commit
a5ac183d86
@ -707,7 +707,7 @@ const NMDeviceWired = new Lang.Class({
|
||||
// the device
|
||||
// we can do it here because addConnection and removeConnection
|
||||
// both call _createSection at some point
|
||||
this.section.actor.visible = this._connections.length <= 1;
|
||||
this.section.actor.visible = this._connections.length > 1;
|
||||
},
|
||||
|
||||
_createAutomaticConnection: function() {
|
||||
|
Loading…
Reference in New Issue
Block a user