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:
parent
f650e96363
commit
434f548a87
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user