From 48a7596953d9c962dacc20ab7c215b5ae9070c55 Mon Sep 17 00:00:00 2001 From: Jaquee Date: Mon, 20 Mar 2017 23:13:03 +0100 Subject: [PATCH] remove processing splash when transfer fails --- main.qml | 2 ++ 1 file changed, 2 insertions(+) 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))