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:
Jasper St. Pierre 2012-05-02 16:29:51 -04:00
parent a36de92bb9
commit a5ac183d86

View File

@ -707,7 +707,7 @@ const NMDeviceWired = new Lang.Class({
// the device // the device
// we can do it here because addConnection and removeConnection // we can do it here because addConnection and removeConnection
// both call _createSection at some point // both call _createSection at some point
this.section.actor.visible = this._connections.length <= 1; this.section.actor.visible = this._connections.length > 1;
}, },
_createAutomaticConnection: function() { _createAutomaticConnection: function() {