Commit ed01361b authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #4873 from jaxxzer/video-path-fix

Fix video save path in general settings
parents daf18492 b9d1f982
......@@ -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