aboutsummaryrefslogtreecommitdiff
path: root/wizard/WizardController.qml
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2020-10-04 17:38:14 -0500
committerluigi1111 <luigi1111w@gmail.com>2020-10-04 17:38:14 -0500
commitcdfe9f338fdf46b301fd6eb627b13109fca561ff (patch)
tree1c961643ffede90c03d962da8efb638d591bbbc4 /wizard/WizardController.qml
parentadb04cef71c0b0a7dbb53e120ccaa5c661dfa8fd (diff)
parentf5c5df7b677e10c78bddb2defa7b392bfe42696a (diff)
downloadmonzero-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/WizardController.qml')
-rw-r--r--wizard/WizardController.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/wizard/WizardController.qml b/wizard/WizardController.qml
index ececc7b0..1c4f96b5 100644
--- a/wizard/WizardController.qml
+++ b/wizard/WizardController.qml
@@ -307,7 +307,7 @@ Rectangle {
FileDialog {
id: fileDialog
title: qsTr("Please choose a file") + translationManager.emptyString
- folder: "file://" + moneroAccountsDir
+ folder: "file://" + appWindow.accountsDir
nameFilters: [ "Wallet files (*.keys)"]
sidebarVisible: false
@@ -381,7 +381,7 @@ Rectangle {
};
if (isIOS) {
- new_wallet_filename = moneroAccountsDir + new_wallet_filename;
+ new_wallet_filename = appWindow.accountsDir + new_wallet_filename;
}
console.log("saving new wallet to", new_wallet_filename);
wizardController.m_wallet.storeAsync(handler, new_wallet_filename);
@@ -539,7 +539,7 @@ Rectangle {
persistentSettings.wallet_path = fn;
if(isIOS)
- persistentSettings.wallet_path = persistentSettings.wallet_path.replace(moneroAccountsDir, "");
+ persistentSettings.wallet_path = persistentSettings.wallet_path.replace(appWindow.accountsDir, "");
appWindow.openWallet();
}