mirror of
https://github.com/monero-project/monero-gui
synced 2025-01-03 20:56:23 +01:00
Merge pull request #2056
7b0bdb1
wizard: fix clearing of restore wallet fields (mmbyday)
This commit is contained in:
commit
c30fd82636
@ -37,7 +37,7 @@ Rectangle {
|
||||
id: wizardRestoreWallet1
|
||||
|
||||
color: "transparent"
|
||||
property string viewName: "wizardCreateWallet1"
|
||||
property string viewName: "wizardRestoreWallet1"
|
||||
|
||||
function verify() {
|
||||
if (restoreHeight.text.indexOf('-') === 4 && restoreHeight.text.length !== 10) {
|
||||
@ -305,7 +305,7 @@ Rectangle {
|
||||
function onPageCompleted(previousView){
|
||||
if(previousView.viewName == "wizardHome"){
|
||||
// cleanup
|
||||
walletInput.reset();
|
||||
wizardWalletInput.reset();
|
||||
seedInput.text = "";
|
||||
addressLine.text = "";
|
||||
spendKeyLine.text = "";
|
||||
|
@ -55,6 +55,8 @@ GridLayout {
|
||||
function reset() {
|
||||
walletName.error = !walletName.verify();
|
||||
walletLocation.error = walletLocation.text === "";
|
||||
walletLocation.text = moneroAccountsDir + "/";
|
||||
walletName.text = defaultAccountName;
|
||||
}
|
||||
|
||||
MoneroComponents.LineEdit {
|
||||
|
Loading…
Reference in New Issue
Block a user