dbus: update the listening property, not the internal variable

Otherwise the PropertiesChanged never gets sent
pull/34/head
Peter Hutterer 2018-01-25 15:20:38 +10:00
parent d4c5f2c081
commit ab385bd981
1 changed files with 1 additions and 1 deletions

View File

@ -263,7 +263,7 @@ class TuhiDBusDevice(_TuhiDBus):
self._listening_client = (sender, s)
logger.debug('Listening started on {} for {}'.format(self.name, sender))
self._listening = True
self.listening = True
self.notify('listening')
def _on_name_owner_changed_signal_cb(self, connection, sender, object_path,