diff --git a/js/ui/status/network.js b/js/ui/status/network.js index 049406d08..4f02d78ea 100644 --- a/js/ui/status/network.js +++ b/js/ui/status/network.js @@ -1866,7 +1866,7 @@ const NMApplet = new Lang.Class({ _connectionRemoved: function(connection) { let pos = this._connections.indexOf(connection); if (pos != -1) - this._connections.splice(connection, 1); + this._connections.splice(pos, 1); let section = connection._section;