1
mirror of https://github.com/monero-project/monero-gui synced 2024-11-24 11:17:15 +01:00

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");