summaryrefslogtreecommitdiffstats
path: root/map-widget/qml/MapWidget.qml
diff options
context:
space:
mode:
Diffstat (limited to 'map-widget/qml/MapWidget.qml')
-rw-r--r--map-widget/qml/MapWidget.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/map-widget/qml/MapWidget.qml b/map-widget/qml/MapWidget.qml
index fb5545e88..8116163cf 100644
--- a/map-widget/qml/MapWidget.qml
+++ b/map-widget/qml/MapWidget.qml
@@ -56,7 +56,7 @@ Item {
anchorPoint.x: 0
anchorPoint.y: mapItemImage.height
coordinate: model.coordinate
- z: mapHelper.model.isSelected(model.divesite) ? mapHelper.model.count - 1 : 0
+ z: model.z
sourceItem: Image {
id: mapItemImage
source: model.pixmap