Commit 6f8c4907 authored by Karel Slaný's avatar Karel Slaný

Fixed file dialogue.

parent 7379ca63
......@@ -130,7 +130,7 @@ Dialog {
ListElement { label: qsTr("Pictures"); key: "picture" }
ListElement { label: qsTr("Temp"); key: "temp" }
}
onActivated: {
onCurrentIndexChanged: {
var location = InteractionFilesystem.DESKTOP_LOCATION
if (currentKey() === "document") {
location = InteractionFilesystem.DOCUMENTS_LOCATION
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment