mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-16 15:58:11 +00:00
main: update balance only when wallet is synced
This commit is contained in:
parent
c8f4355e15
commit
333c9ee311
1 changed files with 1 additions and 1 deletions
2
main.qml
2
main.qml
|
@ -416,7 +416,7 @@ ApplicationWindow {
|
|||
|
||||
var balance = "?.??";
|
||||
var balanceU = "?.??";
|
||||
if(!hideBalanceForced && !persistentSettings.hideBalance){
|
||||
if(!hideBalanceForced && !persistentSettings.hideBalance && appWindow.walletSynced){
|
||||
balance = walletManager.displayAmount(currentWallet.balance());
|
||||
balanceU = walletManager.displayAmount(currentWallet.unlockedBalance());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue