diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2020-10-04 17:38:14 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2020-10-04 17:38:14 -0500 |
| commit | cdfe9f338fdf46b301fd6eb627b13109fca561ff (patch) | |
| tree | 1c961643ffede90c03d962da8efb638d591bbbc4 /wizard/WizardWalletInput.qml | |
| parent | adb04cef71c0b0a7dbb53e120ccaa5c661dfa8fd (diff) | |
| parent | f5c5df7b677e10c78bddb2defa7b392bfe42696a (diff) | |
| download | monzero-gui-cdfe9f338fdf46b301fd6eb627b13109fca561ff.tar.gz monzero-gui-cdfe9f338fdf46b301fd6eb627b13109fca561ff.tar.xz monzero-gui-cdfe9f338fdf46b301fd6eb627b13109fca561ff.zip | |
Merge pull request #3025
f5c5df7 main: accountsDir runtime configuration support (xiphon)
Diffstat (limited to 'wizard/WizardWalletInput.qml')
| -rw-r--r-- | wizard/WizardWalletInput.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wizard/WizardWalletInput.qml b/wizard/WizardWalletInput.qml index 261f4b37..5b2f3b69 100644 --- a/wizard/WizardWalletInput.qml +++ b/wizard/WizardWalletInput.qml @@ -55,7 +55,7 @@ GridLayout { function reset() { walletName.error = !walletName.verify(); walletLocation.error = walletLocation.text === ""; - walletLocation.text = moneroAccountsDir; + walletLocation.text = appWindow.accountsDir; walletName.text = defaultAccountName; } @@ -66,7 +66,7 @@ GridLayout { function verify(){ if(walletLocation === "" || /[\\\/]/.test(walletName.text)) return false; - var exists = Wizard.walletPathExists(walletLocation.text, walletName.text, isIOS, walletManager); + var exists = Wizard.walletPathExists(appWindow.accountsDir, walletLocation.text, walletName.text, isIOS, walletManager); return !exists && walletLocation.error === false; } @@ -88,7 +88,7 @@ GridLayout { labelFontSize: 14 placeholderText: "..." placeholderFontSize: 16 - text: moneroAccountsDir + "/" + text: appWindow.accountsDir + "/" inlineButton.small: true inlineButtonText: qsTr("Browse") + translationManager.emptyString inlineButton.onClicked: { |
