diff --git a/wizard/WizardManageWalletUI.qml b/wizard/WizardManageWalletUI.qml index 44d3c5fd..cc8a5be3 100644 --- a/wizard/WizardManageWalletUI.qml +++ b/wizard/WizardManageWalletUI.qml @@ -207,13 +207,16 @@ Item { selectByMouse: true text: moneroAccountsDir + "/" - onFocusChanged: { - if(focus) { - fileDialog.folder = text + // workaround for the bug "filechooser only opens once" + MouseArea { + anchors.fill: parent + onClicked: { + mouse.accepted = false + fileDialog.folder = walletManager.localPathToUrl(fileUrlInput.text) fileDialog.open() + fileUrlInput.focus = true } } - } Rectangle {