Commit 8484fb19 authored by Volker Krause's avatar Volker Krause

Use previous location from the timeline for future navigation actions

Still needs to be added to all other delegates.
parent 4a44457d
......@@ -50,6 +50,7 @@ Kirigami.AbstractCard {
}
property alias arrival: controller.arrival
property alias departure: controller.departure
property alias previousLocation: controller.previousLocation
header: Rectangle {
id: headerBackground
......
......@@ -64,8 +64,10 @@ App.TimelineDelegate {
}
App.PlaceDelegate {
place: reservationFor.departureStation
currentLocation: root.previousLocation
Layout.fillWidth: true
}
// TODO reserved seat
Kirigami.Separator {
......@@ -96,6 +98,7 @@ App.TimelineDelegate {
}
App.PlaceDelegate {
place: reservationFor.arrivalStation
offerNavigation: false
Layout.fillWidth: true
}
}
......
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