Merge pull request #4149

434f548 Prove/Check: clear text fields on wallet close (plowsof)
This commit is contained in:
luigi1111 2023-08-17 10:31:23 -05:00
commit f002987edd
No known key found for this signature in database
GPG key ID: F4ACA0183641E010
2 changed files with 13 additions and 0 deletions

View file

@ -41,6 +41,7 @@ ColumnLayout {
property int panelHeight: 900
property alias miningView: stateView.miningView
property alias signView: stateView.signView
property alias prooveView: stateView.prooveView
property alias state: stateView.state
MoneroComponents.Navbar {
@ -151,6 +152,7 @@ ColumnLayout {
function clearFields() {
signView.clearFields();
prooveView.clearFields();
}
}

View file

@ -259,6 +259,17 @@ Rectangle {
}
}
function clearFields() {
checkProofAddressLine.text = ""
checkProofMessageLine.text = ""
checkProofSignatureLine.text = ""
checkProofTxIdLine.text = ""
getProofAddressLine.text = ""
getProofMessageLine.text = ""
getProofTxIdLine.text = ""
getReserveProofAmtLine.text = ""
}
function onPageCompleted() {
console.log("TxKey page loaded");