mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 03:59:38 +00:00
Update balance after calling scan_tx
This commit is contained in:
parent
aef4a982dc
commit
4cd6652825
1 changed files with 1 additions and 0 deletions
|
@ -138,6 +138,7 @@ Rectangle {
|
||||||
inputDialog.onAcceptedCallback = function() {
|
inputDialog.onAcceptedCallback = function() {
|
||||||
var txid = inputDialog.inputText.trim();
|
var txid = inputDialog.inputText.trim();
|
||||||
if (currentWallet.scanTransactions([txid])) {
|
if (currentWallet.scanTransactions([txid])) {
|
||||||
|
updateBalance();
|
||||||
appWindow.showStatusMessage(qsTr("Transaction successfully scanned"), 3);
|
appWindow.showStatusMessage(qsTr("Transaction successfully scanned"), 3);
|
||||||
} else {
|
} else {
|
||||||
appWindow.showStatusMessage(qsTr("Failed to scan transaction") + ": " + currentWallet.errorString, 5);
|
appWindow.showStatusMessage(qsTr("Failed to scan transaction") + ": " + currentWallet.errorString, 5);
|
||||||
|
|
Loading…
Reference in a new issue