diff --git a/panel-applet/NMWirelessAppletDbus.c b/panel-applet/NMWirelessAppletDbus.c index 7feefa1e88..68e1f0849d 100644 --- a/panel-applet/NMWirelessAppletDbus.c +++ b/panel-applet/NMWirelessAppletDbus.c @@ -942,8 +942,9 @@ static void nmwa_dbus_update_device_wireless_networks (NetworkDevice *dev, NMWir goto out; - if (dev->active) + if (dev == applet->active_device) active_network = nmwa_dbus_get_active_network (applet, dev->nm_device, APPLET_STATE_IGNORE); + if (applet->applet_state == APPLET_STATE_NO_NM) goto out; /* Don't proceed if NetworkManager died during the call to get the active network */