Skip to content
Permalink
Browse files

[QgsQuick] Photo panel path fix

Relative path should be handled in external resource handler. Photo panel should provide full path to taken image.
  • Loading branch information
vsklencar authored and wonder-sk committed Aug 21, 2020
1 parent 7824c4c commit 75c2b511bd784fdd1a2feb69380aa405ba313c4d
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/quickgui/plugin/qgsquickphotopanel.qml
@@ -211,8 +211,7 @@ Drawer {
onClicked: {
captureItem.saveImage = true
photoPanel.visible = false
photoPanel.lastPhotoName = QgsQuick.Utils.getRelativePath(camera.imageCapture.capturedImagePath, photoPanel.prefixToRelativePath)
confirmButtonClicked(photoPanel.prefixToRelativePath, photoPanel.lastPhotoName)
confirmButtonClicked(photoPanel.prefixToRelativePath, camera.imageCapture.capturedImagePath)
}
}

0 comments on commit 75c2b51

Please sign in to comment.
You can’t perform that action at this time.