diff options
Diffstat (limited to 'wizard')
| -rw-r--r-- | wizard/WizardController.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/wizard/WizardController.qml b/wizard/WizardController.qml index be4e5334..593f9c84 100644 --- a/wizard/WizardController.qml +++ b/wizard/WizardController.qml @@ -308,7 +308,9 @@ Rectangle { sidebarVisible: false onAccepted: { - wizardController.openWalletFile(fileDialog.fileUrl); + var keysPath = walletManager.urlToLocalPath(fileDialog.fileUrl) + persistentSettings.nettype = oshelper.getNetworkTypeFromFile(keysPath); + wizardController.openWalletFile(keysPath); } onRejected: { console.log("Canceled") |
