mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 03:59:38 +00:00
Merge pull request #3003
9fc260c
account: update balances of account page when new block is found (rating89us)
This commit is contained in:
commit
2b83edc982
2 changed files with 6 additions and 0 deletions
4
main.qml
4
main.qml
|
@ -433,6 +433,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 a new issue