Commit 74455455 authored by Volker Krause's avatar Volker Krause
Browse files

Close the favorites selector page after picking the location

parent 01ac618d
......@@ -59,6 +59,7 @@ Kirigami.Page {
var idx = FavoriteLocationModel.index(combo.currentIndex, 0);
FavoriteLocationModel.setData(idx, map.center.latitude, FavoriteLocationModel.LatitudeRole);
FavoriteLocationModel.setData(idx, map.center.longitude, FavoriteLocationModel.LongitudeRole);
applicationWindow().pageStack.goBack();
}
}
actions.contextualActions: [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment