diff options
Diffstat (limited to 'mobile-widgets/qml/DiveDetailsView.qml')
-rw-r--r-- | mobile-widgets/qml/DiveDetailsView.qml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mobile-widgets/qml/DiveDetailsView.qml b/mobile-widgets/qml/DiveDetailsView.qml index 3a3adf62a..31524df38 100644 --- a/mobile-widgets/qml/DiveDetailsView.qml +++ b/mobile-widgets/qml/DiveDetailsView.qml @@ -51,8 +51,8 @@ Item { anchors.fill: parent enabled: dive.gps_decimal !== "" onClicked: { - if (dive.gps_decimal !== "") - showMap(dive.gps_decimal) + showMap() + mapPage.centerOnDiveSiteUUID(dive.dive_site_uuid) } } } @@ -62,8 +62,8 @@ Item { enabled: dive.gps !== "" text: qsTr("Map it") onClicked: { - if (dive.gps_decimal !== "") - showMap(dive.gps_decimal) + showMap() + mapPage.centerOnDiveSiteUUID(dive.dive_site_uuid) } } Row { |