summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/GpsList.qml
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets/qml/GpsList.qml')
-rw-r--r--mobile-widgets/qml/GpsList.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/mobile-widgets/qml/GpsList.qml b/mobile-widgets/qml/GpsList.qml
index 51025299f..ea5098943 100644
--- a/mobile-widgets/qml/GpsList.qml
+++ b/mobile-widgets/qml/GpsList.qml
@@ -86,7 +86,8 @@ Kirigami.ScrollablePage {
name: "gps"
}
onTriggered: {
- showMap(latitude + " " + longitude)
+ showMap()
+ mapPage.centerOnLocation(latitude, longitude)
}
}