LeftPanel: auto refresh Transactions page during wallet scan

This commit is contained in:
rating89us 2021-12-11 17:21:47 +01:00 committed by GitHub
parent bddb9b0050
commit 1eed65be11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,6 +63,13 @@ Rectangle {
signal addressBookClicked() signal addressBookClicked()
signal accountClicked() signal accountClicked()
onBalanceStringChanged: {
if (middlePanel.state == "History") {
middlePanel.historyView.onPageClosed()
middlePanel.historyView.onPageCompleted()
}
}
function selectItem(pos) { function selectItem(pos) {
menuColumn.previousButton.checked = false menuColumn.previousButton.checked = false
if(pos === "History") menuColumn.previousButton = historyButton if(pos === "History") menuColumn.previousButton = historyButton