Prove/Check: clear text fields on wallet close

This commit is contained in:
plowsof 2023-04-10 23:37:29 +01:00
parent f650e96363
commit 434f548a87
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");