forked from Public/monero-gui
open-wallet: set network type when using file browser
Co-authored-by: selsta <selsta@users.noreply.github.com>
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user