1
0

compat with android/python3.8

This commit is contained in:
Sander van Grieken
2022-05-04 15:31:01 +02:00
parent bb2b1738b7
commit 15dec47516

View File

@@ -96,6 +96,6 @@ class QEAddressListModel(QAbstractListModel):
def do_update(self, modelindex, modelitem):
mi = self.createIndex(modelindex, 0)
self._logger.debug(repr(modelitem))
modelitem |= self.addr_to_model(modelitem['address'])
modelitem.update(self.addr_to_model(modelitem['address']))
self._logger.debug(repr(modelitem))
self.dataChanged.emit(mi, mi, self._ROLE_KEYS)