mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-01 23:07:25 -04:00
History: display Payment proof dialog immediately after clicking the button
This commit is contained in:
3
main.qml
3
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"
|
||||
|
||||
Reference in New Issue
Block a user