mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-18 23:53:41 +02:00
Fix: File Path Chooser only opens once (#48)
This commit is contained in:
parent
3280fe389a
commit
85787c3e14
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user