Do not try to add access points on model removed signal!
Some fixes to access point state.
This commit is contained in:
@@ -74,5 +74,5 @@ class AccessPointModel(gobject.GObject):
|
||||
elif pspec.name == 'name':
|
||||
return self._nm_network.get_ssid()
|
||||
elif pspec.name == 'state':
|
||||
nm_state = self._nm_device.get_state()
|
||||
nm_state = self._nm_network.get_state()
|
||||
return _nm_state_to_state[nm_state]
|
||||
|
||||
Reference in New Issue
Block a user