diff options
| author | Jaquee <jaquee.monero@gmail.com> | 2017-08-08 12:23:01 +0200 |
|---|---|---|
| committer | Jaquee <jaquee.monero@gmail.com> | 2017-11-03 16:57:12 +0100 |
| commit | 44b72eaff2c877792d9cae3a2c4be2aba3018320 (patch) | |
| tree | bb37ebe1284bc2f8fd4e1cd5bdad4e1036818d60 | |
| parent | b8f38f29ae496e2aa4f84d89aead1b4f3346ec75 (diff) | |
| download | monzero-gui-44b72eaff2c877792d9cae3a2c4be2aba3018320.tar.gz monzero-gui-44b72eaff2c877792d9cae3a2c4be2aba3018320.tar.xz monzero-gui-44b72eaff2c877792d9cae3a2c4be2aba3018320.zip | |
refresh history updates
| -rw-r--r-- | main.qml | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -442,9 +442,6 @@ ApplicationWindow { console.log("Saving wallet after first refresh"); currentWallet.store() isNewWallet = false - - // Update History - currentWallet.history.refresh(); } // recovering from seed is finished after first refresh @@ -453,6 +450,10 @@ ApplicationWindow { } } + // Update history on every refresh if it's empty + if(currentWallet.history.count == 0) + currentWallet.history.refresh() + onWalletUpdate(); } @@ -512,7 +513,8 @@ ApplicationWindow { function onWalletMoneyReceived(txId, amount) { // refresh transaction history here currentWallet.refresh() - currentWallet.history.refresh() // this will refresh model + console.log("Confirmed money found") + // history refresh is handled by walletUpdated } function onWalletUnconfirmedMoneyReceived(txId, amount) { @@ -523,6 +525,7 @@ ApplicationWindow { function onWalletMoneySent(txId, amount) { // refresh transaction history here + console.log("money sent found") currentWallet.refresh() currentWallet.history.refresh() // this will refresh model } |
