diff --git a/wizard/WizardWalletInput.qml b/wizard/WizardWalletInput.qml index 64356c89..261f4b37 100644 --- a/wizard/WizardWalletInput.qml +++ b/wizard/WizardWalletInput.qml @@ -64,7 +64,7 @@ GridLayout { Layout.fillWidth: true function verify(){ - if(walletLocation === "") return false; + if(walletLocation === "" || /[\\\/]/.test(walletName.text)) return false; var exists = Wizard.walletPathExists(walletLocation.text, walletName.text, isIOS, walletManager); return !exists && walletLocation.error === false;