Merge pull request #1990

0d24f64 invalidate wallet name after creation (xmrdsc)
pull/2/head
luigi1111 5 years ago
commit 287e379a24
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

@ -225,4 +225,10 @@ Rectangle {
wizardCreateDevice1.update();
console.log()
}
function onPageCompleted(previousView){
if(previousView.viewName == "wizardHome"){
walletInput.reset();
}
}
}

@ -144,4 +144,10 @@ Rectangle {
}
}
}
function onPageCompleted(previousView){
if(previousView.viewName == "wizardHome"){
walletInput.reset();
}
}
}

@ -305,6 +305,7 @@ Rectangle {
function onPageCompleted(previousView){
if(previousView.viewName == "wizardHome"){
// cleanup
walletInput.reset();
seedInput.text = "";
addressLine.text = "";
spendKeyLine.text = "";

@ -52,6 +52,11 @@ GridLayout {
return false;
}
function reset() {
walletName.error = !walletName.verify();
walletLocation.error = walletLocation.text === "";
}
MoneroComponents.LineEdit {
id: walletName
Layout.fillWidth: true