aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-03-22 11:34:35 +0200
committerRiccardo Spagni <ric@spagni.net>2017-03-22 11:34:35 +0200
commit9e3b3d89b61e4ec6460a3298697df99b8793aade (patch)
tree9ce764706b880e90b968091e083ca0cf214a257d
parenteb24356a95db7a1453b8d0d248ac83770d02ddb4 (diff)
parent48a7596953d9c962dacc20ab7c215b5ae9070c55 (diff)
downloadmonzero-gui-9e3b3d89b61e4ec6460a3298697df99b8793aade.tar.gz
monzero-gui-9e3b3d89b61e4ec6460a3298697df99b8793aade.tar.xz
monzero-gui-9e3b3d89b61e4ec6460a3298697df99b8793aade.zip
Merge pull request #585
48a7596 remove processing splash when transfer fails (Jaquee)
-rw-r--r--main.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.qml b/main.qml
index ea11a8a8..55d491c0 100644
--- a/main.qml
+++ b/main.qml
@@ -537,6 +537,7 @@ ApplicationWindow {
console.log("integer amount: ", amountxmr);
console.log("integer unlocked",currentWallet.unlockedBalance)
if (amountxmr <= 0) {
+ hideProcessingSplash()
informationPopup.title = qsTr("Error") + translationManager.emptyString;
informationPopup.text = qsTr("Amount is wrong: expected number from %1 to %2")
.arg(walletManager.displayAmount(0))
@@ -548,6 +549,7 @@ ApplicationWindow {
informationPopup.open()
return;
} else if (amountxmr > currentWallet.unlockedBalance) {
+ hideProcessingSplash()
informationPopup.title = qsTr("Error") + translationManager.emptyString;
informationPopup.text = qsTr("insufficient funds. Unlocked balance: %1")
.arg(walletManager.displayAmount(currentWallet.unlockedBalance))