1
0

qml: refresh transaction list when wallet_updated+is_up_to_date and history is dirty

This commit is contained in:
Sander van Grieken
2023-02-14 16:34:01 +01:00
parent d3d66e7248
commit ebb3f90e29

View File

@@ -200,6 +200,8 @@ class QEWallet(AuthMixin, QObject, QtEventListener):
self._logger.debug('wallet_updated')
self.balanceChanged.emit()
self.synchronizing = not wallet.is_up_to_date()
if not self.synchronizing:
self.historyModel.init_model() # refresh if dirty
@event_listener
def on_event_channel(self, wallet, channel):