mirror of
https://github.com/monero-project/monero-gui
synced 2024-12-18 05:15:54 +01:00
account: update balances of account page when new block is found
This commit is contained in:
parent
b7b1221221
commit
9fc260c62d
4
main.qml
4
main.qml
@ -428,6 +428,10 @@ ApplicationWindow {
|
||||
leftPanel.minutesToUnlock = (balance !== balanceU) ? currentWallet.history.minutesToUnlock : "";
|
||||
leftPanel.balanceString = balance
|
||||
leftPanel.balanceUnlockedString = balanceU
|
||||
if (middlePanel.state === "Account") {
|
||||
middlePanel.accountView.balanceAllText = walletManager.displayAmount(appWindow.currentWallet.balanceAll());
|
||||
middlePanel.accountView.unlockedBalanceAllText = walletManager.displayAmount(appWindow.currentWallet.unlockedBalanceAll());
|
||||
}
|
||||
}
|
||||
|
||||
function onUriHandler(uri){
|
||||
|
@ -48,6 +48,8 @@ Rectangle {
|
||||
color: "transparent"
|
||||
property var model
|
||||
property alias accountHeight: mainLayout.height
|
||||
property alias balanceAllText: balanceAll.text
|
||||
property alias unlockedBalanceAllText: unlockedBalanceAll.text
|
||||
property bool selectAndSend: false
|
||||
property int currentAccountIndex
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user