mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-10 11:52:05 +02:00
Merge pull request #2947
333c9ee
main: update balance only when wallet is synced (rating89us)
This commit is contained in:
commit
c32e11d3e8
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 New Issue
Block a user