update the paired property on uuid change

When the uuid changes, it means the device just has been paired.
We should therefore update the paired property or a subsequent connect
to retrieve the data will result in an attempt to pair to the device.
This commit is contained in:
Benjamin Tissoires 2018-01-19 10:04:02 +01:00 committed by Peter Hutterer
parent c79ffbd12c
commit fda5d7f132
1 changed files with 1 additions and 0 deletions

View File

@ -151,6 +151,7 @@ class TuhiDevice(GObject.Object):
def _on_uuid_updated(self, wacom_device, pspec, bluez_device):
self.config.new_device(bluez_device.address, wacom_device.uuid)
self.paired = True
class Tuhi(GObject.Object):