Skip to content

Commit

Permalink
fix path for photo on ios
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterPetrik committed Sep 10, 2019
1 parent 0170fbc commit b884c0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/quickgui/plugin/editor/qgsquickexternalresource.qml
Expand Up @@ -185,14 +185,14 @@ Item {
}
else if (image.currentValue && QgsQuick.Utils.fileExists(absolutePath)) {
fieldItem.state = "valid"
return absolutePath
return "file://" + absolutePath
}
else if (!image.currentValue) {
fieldItem.state = "notSet"
return ""
}
fieldItem.state = "notAvailable"
return absolutePath
return "file://" + absolutePath
}
}
}
Expand Down

0 comments on commit b884c0d

Please sign in to comment.