diff options
| author | dsc <xmrdsc@protonmail.com> | 2019-03-18 00:12:51 +0100 |
|---|---|---|
| committer | dsc <xmrdsc@protonmail.com> | 2019-04-08 21:28:51 +0200 |
| commit | 7611e826aa2be305e2bfcc22361deb4d03d76c8d (patch) | |
| tree | d1fd3396a5bf336cde2e66e4e3b7d28cf000e9a9 /main.qml | |
| parent | 98a7a9e66335c463b7a12d32f84bdf83ba75c925 (diff) | |
| download | monzero-gui-7611e826aa2be305e2bfcc22361deb4d03d76c8d.tar.gz monzero-gui-7611e826aa2be305e2bfcc22361deb4d03d76c8d.tar.xz monzero-gui-7611e826aa2be305e2bfcc22361deb4d03d76c8d.zip | |
History redesign
Diffstat (limited to 'main.qml')
| -rw-r--r-- | main.qml | 18 |
1 files changed, 16 insertions, 2 deletions
@@ -528,6 +528,9 @@ ApplicationWindow { currentWallet.history.refresh(currentWallet.currentSubaddressAccount) timeToUnlock = currentWallet.history.minutesToUnlock leftPanel.minutesToUnlockTxt = (timeToUnlock > 0)? (timeToUnlock == 20)? qsTr("Unlocked balance (waiting for block)") : qsTr("Unlocked balance (~%1 min)").arg(timeToUnlock) : qsTr("Unlocked balance"); + + if(middlePanel.state == "History") + middlePanel.historyView.update(); } } @@ -677,19 +680,28 @@ ApplicationWindow { // history refresh is handled by walletUpdated currentWallet.history.refresh(currentWallet.currentSubaddressAccount) // this will refresh model currentWallet.subaddress.refresh(currentWallet.currentSubaddressAccount) + + if(middlePanel.state == "History") + middlePanel.historyView.update(); } function onWalletUnconfirmedMoneyReceived(txId, amount) { // refresh history console.log("unconfirmed money found") - currentWallet.history.refresh(currentWallet.currentSubaddressAccount) + currentWallet.history.refresh(currentWallet.currentSubaddressAccount); + + if(middlePanel.state == "History") + middlePanel.historyView.update(); } function onWalletMoneySent(txId, amount) { // refresh transaction history here console.log("monero sent found") currentWallet.refresh() - currentWallet.history.refresh(currentWallet.currentSubaddressAccount) // this will refresh model + currentWallet.history.refresh(currentWallet.currentSubaddressAccount); // this will refresh model + + if(middlePanel.state == "History") + middlePanel.historyView.update(); } function walletsFound() { @@ -1140,6 +1152,8 @@ ApplicationWindow { property string daemonPassword: "" property bool transferShowAdvanced: false property bool receiveShowAdvanced: false + property bool historyShowAdvanced: false + property bool historyHumanDates: true property string blockchainDataDir: "" property bool useRemoteNode: false property string remoteNodeAddress: "" |
