aboutsummaryrefslogtreecommitdiff
path: root/wizard/WizardController.qml
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2020-07-28 17:42:59 +0000
committerxiphon <xiphon@protonmail.com>2020-09-28 13:54:02 +0000
commitf5c5df7b677e10c78bddb2defa7b392bfe42696a (patch)
tree6f3a0923cef982f44a43916c3b6ade440cc86994 /wizard/WizardController.qml
parentc137a6ea36040aee20366933935805eff67ae3f8 (diff)
downloadmonzero-gui-f5c5df7b677e10c78bddb2defa7b392bfe42696a.tar.gz
monzero-gui-f5c5df7b677e10c78bddb2defa7b392bfe42696a.tar.xz
monzero-gui-f5c5df7b677e10c78bddb2defa7b392bfe42696a.zip
main: accountsDir runtime configuration support
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 b38d079f..e39a29de 100644
--- a/wizard/WizardController.qml
+++ b/wizard/WizardController.qml
@@ -308,7 +308,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
@@ -382,7 +382,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);
@@ -540,7 +540,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();
}