mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-03 09:47:25 -04:00
Fix: File Path Chooser only opens once (#48)
This commit is contained in:
@@ -207,13 +207,16 @@ Item {
|
|||||||
selectByMouse: true
|
selectByMouse: true
|
||||||
|
|
||||||
text: moneroAccountsDir + "/"
|
text: moneroAccountsDir + "/"
|
||||||
onFocusChanged: {
|
// workaround for the bug "filechooser only opens once"
|
||||||
if(focus) {
|
MouseArea {
|
||||||
fileDialog.folder = text
|
anchors.fill: parent
|
||||||
|
onClicked: {
|
||||||
|
mouse.accepted = false
|
||||||
|
fileDialog.folder = walletManager.localPathToUrl(fileUrlInput.text)
|
||||||
fileDialog.open()
|
fileDialog.open()
|
||||||
|
fileUrlInput.focus = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
|
|||||||
Reference in New Issue
Block a user