aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qml/DiveDetails.qml2
-rw-r--r--mobile-widgets/qml/DiveDetailsView.qml4
2 files changed, 3 insertions, 3 deletions
diff --git a/mobile-widgets/qml/DiveDetails.qml b/mobile-widgets/qml/DiveDetails.qml
index 0a7680ef8..076a63576 100644
--- a/mobile-widgets/qml/DiveDetails.qml
+++ b/mobile-widgets/qml/DiveDetails.qml
@@ -89,7 +89,7 @@ Kirigami.Page {
text: qsTr("Show on map")
iconName: "gps"
onTriggered: {
- showMap(diveDetailsListView.currentItem.modelData.dive.gps)
+ showMap(diveDetailsListView.currentItem.modelData.dive.gps_decimal)
}
}
diff --git a/mobile-widgets/qml/DiveDetailsView.qml b/mobile-widgets/qml/DiveDetailsView.qml
index c43b8a313..79602e645 100644
--- a/mobile-widgets/qml/DiveDetailsView.qml
+++ b/mobile-widgets/qml/DiveDetailsView.qml
@@ -53,8 +53,8 @@ Item {
MouseArea {
anchors.fill: parent
onClicked: {
- if (dive.gps !== "")
- showMap(dive.gps)
+ if (dive.gps_decimal !== "")
+ showMap(dive.gps_decimal)
}
}
}