aboutsummaryrefslogtreecommitdiff
path: root/wizard/WizardWalletInput.qml
diff options
context:
space:
mode:
authordsc <xmrdsc@protonmail.com>2019-03-01 09:09:02 +0100
committerdsc <xmrdsc@protonmail.com>2019-03-01 09:13:36 +0100
commit0d24f642c3e81af8fc61a898c4e69df2bc91fc8b (patch)
tree53a8411c2052b85ee5373af0342d2ca7cf3aa0ee /wizard/WizardWalletInput.qml
parent07df0f41bf8d5f735480289854f08f9e19356d39 (diff)
downloadmonzero-gui-0d24f642c3e81af8fc61a898c4e69df2bc91fc8b.tar.gz
monzero-gui-0d24f642c3e81af8fc61a898c4e69df2bc91fc8b.tar.xz
monzero-gui-0d24f642c3e81af8fc61a898c4e69df2bc91fc8b.zip
invalidate wallet name after creation
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