aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/DiveDetails.qml
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets/qml/DiveDetails.qml')
-rw-r--r--mobile-widgets/qml/DiveDetails.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/mobile-widgets/qml/DiveDetails.qml b/mobile-widgets/qml/DiveDetails.qml
index 5ab1f627d..82150cc5b 100644
--- a/mobile-widgets/qml/DiveDetails.qml
+++ b/mobile-widgets/qml/DiveDetails.qml
@@ -170,7 +170,8 @@ Kirigami.Page {
name: "gps"
}
onTriggered: {
- showMap(currentItem.modelData.dive.gps_decimal)
+ showMap()
+ mapPage.centerOnDiveSiteUUID(currentItem.modelData.dive.dive_site_uuid)
}
}