diff --git a/main.qml b/main.qml index 5c7d2285..280a54f3 100644 --- a/main.qml +++ b/main.qml @@ -1003,7 +1003,6 @@ ApplicationWindow { } function txProofComputed(txid, result){ - informationPopup.title = qsTr("Payment proof") + translationManager.emptyString; if (result.indexOf("error|") === 0) { var errorString = result.split("|")[1]; informationPopup.text = qsTr("Couldn't generate a proof because of the following reason: \n") + errorString + translationManager.emptyString; @@ -1012,8 +1011,6 @@ ApplicationWindow { informationPopup.text = result; informationPopup.icon = StandardIcon.Critical; } - informationPopup.onCloseCallback = null - informationPopup.open() } // called on "checkProof" diff --git a/pages/History.qml b/pages/History.qml index 85ba1aa0..1f961630 100644 --- a/pages/History.qml +++ b/pages/History.qml @@ -1717,6 +1717,10 @@ Rectangle { console.log("getProof: Generate clicked: txid " + hash + ", address " + address); middlePanel.getProofClicked(hash, address, ''); + informationPopup.title = qsTr("Payment proof") + translationManager.emptyString; + informationPopup.text = qsTr("Generating payment proof") + "..." + translationManager.emptyString; + informationPopup.onCloseCallback = null + informationPopup.open() } function toClipboard(text){