mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-12 19:17:26 -04:00
wizard: warn user if wallet exists in path
This commit is contained in:
@@ -54,7 +54,8 @@ Item {
|
||||
settingsObject['account_name'] = uiItem.accountNameText
|
||||
settingsObject['words'] = uiItem.wordsTexttext
|
||||
settingsObject['wallet_path'] = uiItem.walletPath
|
||||
return true;
|
||||
var walletFullPath = wizard.createWalletPath(uiItem.walletPath,uiItem.accountNameText);
|
||||
return !wizard.walletExists(walletFullPath);
|
||||
}
|
||||
|
||||
function checkNextButton() {
|
||||
@@ -86,9 +87,6 @@ Item {
|
||||
settingsObject.wallet_filename = wallet_filename
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
WizardManageWalletUI {
|
||||
id: uiItem
|
||||
titleText: qsTr("A new wallet has been created for you") + translationManager.emptyString
|
||||
|
||||
Reference in New Issue
Block a user