Windows: don't allow non-ascii characters in path

This commit is contained in:
Jaquee
2016-11-29 17:14:11 +01:00
parent 1a610db431
commit abd5c685af
3 changed files with 26 additions and 9 deletions

View File

@@ -59,7 +59,7 @@ Item {
var restoreHeight = parseInt(uiItem.restoreHeight);
settingsObject['restore_height'] = isNaN(restoreHeight)? 0 : restoreHeight
var walletFullPath = wizard.createWalletPath(uiItem.walletPath,uiItem.accountNameText);
if(wizard.walletExists(walletFullPath)){
if(!wizard.walletPathValid(walletFullPath)){
return false
}
return recoveryWallet(settingsObject)