aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaquee <jaquee.monero@gmail.com>2017-03-20 23:13:03 +0100
committerJaquee <jaquee.monero@gmail.com>2017-03-20 23:13:03 +0100
commit48a7596953d9c962dacc20ab7c215b5ae9070c55 (patch)
treec9585026bc923ad003f8ce40aff171b285878d00
parenta32b30e98be7cce8d6e929145e66df6e7b74332f (diff)
downloadmonzero-gui-48a7596953d9c962dacc20ab7c215b5ae9070c55.tar.gz
monzero-gui-48a7596953d9c962dacc20ab7c215b5ae9070c55.tar.xz
monzero-gui-48a7596953d9c962dacc20ab7c215b5ae9070c55.zip
remove processing splash when transfer fails
-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))