We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6347298 commit 42960e3Copy full SHA for 42960e3
files/usr/share/cinnamon/applets/network@cinnamon.org/applet.js
@@ -2047,15 +2047,16 @@ CinnamonNetworkApplet.prototype = {
2047
} else
2048
a._primaryDevice = this._devices.vpn.device;
2049
2050
- if (a._primaryDevice)
2051
- a._primaryDevice.setActiveConnection(a);
2052
-
2053
if (a.state == NM.ActiveConnectionState.ACTIVATED &&
2054
a._primaryDevice && a._primaryDevice._notification) {
2055
a._primaryDevice._notification.destroy();
2056
a._primaryDevice._notification = null;
2057
}
2058
+
+ if (a._primaryDevice) {
+ a._primaryDevice.setActiveConnection(a);
2059
+ }
2060
2061
2062
this._mainConnection = activated || activating || default_ip4 || default_ip6 || null;
0 commit comments