mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-10 03:42:05 +02:00
invalidate wallet name after creation
This commit is contained in:
parent
07df0f41bf
commit
0d24f642c3
@ -184,4 +184,10 @@ Rectangle {
|
|||||||
wizardCreateDevice1.update();
|
wizardCreateDevice1.update();
|
||||||
console.log()
|
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){
|
function onPageCompleted(previousView){
|
||||||
if(previousView.viewName == "wizardHome"){
|
if(previousView.viewName == "wizardHome"){
|
||||||
// cleanup
|
// cleanup
|
||||||
|
walletInput.reset();
|
||||||
seedInput.text = "";
|
seedInput.text = "";
|
||||||
addressLine.text = "";
|
addressLine.text = "";
|
||||||
spendKeyLine.text = "";
|
spendKeyLine.text = "";
|
||||||
|
@ -52,6 +52,11 @@ GridLayout {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function reset() {
|
||||||
|
walletName.error = !walletName.verify();
|
||||||
|
walletLocation.error = walletLocation.text === "";
|
||||||
|
}
|
||||||
|
|
||||||
MoneroComponents.LineEdit {
|
MoneroComponents.LineEdit {
|
||||||
id: walletName
|
id: walletName
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Loading…
Reference in New Issue
Block a user