forked from Public/monero-gui
Prove/Check: clear text fields on wallet close
This commit is contained in:
@@ -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");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user