mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 03:59:38 +00:00
account: update balances of account page when new block is found
This commit is contained in:
parent
b7b1221221
commit
9fc260c62d
2 changed files with 6 additions and 0 deletions
4
main.qml
4
main.qml
|
@ -428,6 +428,10 @@ ApplicationWindow {
|
||||||
leftPanel.minutesToUnlock = (balance !== balanceU) ? currentWallet.history.minutesToUnlock : "";
|
leftPanel.minutesToUnlock = (balance !== balanceU) ? currentWallet.history.minutesToUnlock : "";
|
||||||
leftPanel.balanceString = balance
|
leftPanel.balanceString = balance
|
||||||
leftPanel.balanceUnlockedString = balanceU
|
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){
|
function onUriHandler(uri){
|
||||||
|
|
|
@ -48,6 +48,8 @@ Rectangle {
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
property var model
|
property var model
|
||||||
property alias accountHeight: mainLayout.height
|
property alias accountHeight: mainLayout.height
|
||||||
|
property alias balanceAllText: balanceAll.text
|
||||||
|
property alias unlockedBalanceAllText: unlockedBalanceAll.text
|
||||||
property bool selectAndSend: false
|
property bool selectAndSend: false
|
||||||
property int currentAccountIndex
|
property int currentAccountIndex
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue