reset balance on wallet close

This commit is contained in:
Jaquee 2017-03-04 00:11:26 +01:00
parent 2e3350c060
commit 7987455fcf
No known key found for this signature in database
GPG Key ID: 384E52B09F45DC39

View File

@ -754,6 +754,8 @@ ApplicationWindow {
currentWallet = undefined; currentWallet = undefined;
wizard.restart(); wizard.restart();
rootItem.state = "wizard" rootItem.state = "wizard"
// reset balance
leftPanel.balanceText = leftPanel.unlockedBalanceText = walletManager.displayAmount(0);
} }
objectName: "appWindow" objectName: "appWindow"