mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-16 15:58:11 +00:00
Prove/Check: clear text fields on wallet close
This commit is contained in:
parent
f650e96363
commit
434f548a87
2 changed files with 13 additions and 0 deletions
|
@ -41,6 +41,7 @@ ColumnLayout {
|
||||||
property int panelHeight: 900
|
property int panelHeight: 900
|
||||||
property alias miningView: stateView.miningView
|
property alias miningView: stateView.miningView
|
||||||
property alias signView: stateView.signView
|
property alias signView: stateView.signView
|
||||||
|
property alias prooveView: stateView.prooveView
|
||||||
property alias state: stateView.state
|
property alias state: stateView.state
|
||||||
|
|
||||||
MoneroComponents.Navbar {
|
MoneroComponents.Navbar {
|
||||||
|
@ -151,6 +152,7 @@ ColumnLayout {
|
||||||
|
|
||||||
function clearFields() {
|
function clearFields() {
|
||||||
signView.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() {
|
function onPageCompleted() {
|
||||||
console.log("TxKey page loaded");
|
console.log("TxKey page loaded");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue