Browse Source

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

master
Sander van Grieken 3 years ago
parent
commit
ebb3f90e29
  1. 2
      electrum/gui/qml/qewallet.py

2
electrum/gui/qml/qewallet.py

@ -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):

Loading…
Cancel
Save