aboutsummaryrefslogtreecommitdiff
path: root/wizard/WizardWalletInput.qml
diff options
context:
space:
mode:
Diffstat (limited to 'wizard/WizardWalletInput.qml')
-rw-r--r--wizard/WizardWalletInput.qml5
1 files changed, 5 insertions, 0 deletions
diff --git a/wizard/WizardWalletInput.qml b/wizard/WizardWalletInput.qml
index aba521f7..e8946647 100644
--- a/wizard/WizardWalletInput.qml
+++ b/wizard/WizardWalletInput.qml
@@ -52,6 +52,11 @@ GridLayout {
return false;
}
+ function reset() {
+ walletName.error = !walletName.verify();
+ walletLocation.error = walletLocation.text === "";
+ }
+
MoneroComponents.LineEdit {
id: walletName
Layout.fillWidth: true