Fix icon update on NM going away
This commit is contained in:
parent
fa94236b78
commit
9e6f1b6619
@ -834,7 +834,7 @@ class NMClientApp:
|
|||||||
if (old and len(old)) and (not new and not len(new)):
|
if (old and len(old)) and (not new and not len(new)):
|
||||||
# NM went away
|
# NM went away
|
||||||
self._nm_present = False
|
self._nm_present = False
|
||||||
self._schedule_update_timer()
|
self._schedule_icon_update(immediate=True)
|
||||||
for op in self._devices.keys():
|
for op in self._devices.keys():
|
||||||
del self._devices[op]
|
del self._devices[op]
|
||||||
self._devices = {}
|
self._devices = {}
|
||||||
|
Loading…
Reference in New Issue
Block a user