Commit b9d1f982 authored by Jacob Walser's avatar Jacob Walser

Fix video save path in general settings

parent daf18492
......@@ -556,14 +556,17 @@ QGCView {
QGCButton {
id: videoBrowse
text: "Browse"
onClicked: videoDialog.visible = true
onClicked: videoDialog.openForLoad()
FileDialog {
QGCFileDialog {
id: videoDialog
title: "Choose a location to save video files."
folder: "file://" + _videoPath.value
selectFolder: true
onAccepted: _videoPath.value = QGroundControl.urlToLocalFile(videoDialog.fileUrl)
onAcceptedForLoad: {
_videoPath.value = file
}
}
}
}
......
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