Browse Source

qml: reset position in history to top when loading another wallet

master
Sander van Grieken 3 years ago
parent
commit
e589d859ae
  1. 7
      electrum/gui/qml/components/History.qml

7
electrum/gui/qml/components/History.qml

@ -143,4 +143,11 @@ Pane {
Daemon.currentWallet.historyModel.updateBlockchainHeight(height) Daemon.currentWallet.historyModel.updateBlockchainHeight(height)
} }
} }
Connections {
target: Daemon
function onWalletLoaded() {
listview.positionViewAtBeginning()
}
}
} }

Loading…
Cancel
Save