mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 20:20:02 +00:00
Merge pull request #2947
333c9ee
main: update balance only when wallet is synced (rating89us)
This commit is contained in:
commit
c32e11d3e8
1 changed files with 1 additions and 1 deletions
2
main.qml
2
main.qml
|
@ -416,7 +416,7 @@ ApplicationWindow {
|
||||||
|
|
||||||
var balance = "?.??";
|
var balance = "?.??";
|
||||||
var balanceU = "?.??";
|
var balanceU = "?.??";
|
||||||
if(!hideBalanceForced && !persistentSettings.hideBalance){
|
if(!hideBalanceForced && !persistentSettings.hideBalance && appWindow.walletSynced){
|
||||||
balance = walletManager.displayAmount(currentWallet.balance());
|
balance = walletManager.displayAmount(currentWallet.balance());
|
||||||
balanceU = walletManager.displayAmount(currentWallet.unlockedBalance());
|
balanceU = walletManager.displayAmount(currentWallet.unlockedBalance());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue