diff --git a/src/qml/LocationChooser.qml b/src/qml/LocationChooser.qml index 38336a60c..7138585d8 100644 --- a/src/qml/LocationChooser.qml +++ b/src/qml/LocationChooser.qml @@ -30,6 +30,12 @@ Components.AbstractMaximizeComponent { root.close(); } enabled: !!root.location + }, + Kirigami.Action { + text: i18nc("@action:intoolbar Re-center the map onto the set location", "Re-Center") + icon.name: "snap-bounding-box-center-symbolic" + onTriggered: mapView.map.fitViewportToMapItems([mapView.locationMapItem]) + enabled: root.location !== undefined } ]