Commit 087e08d0 authored by Volker Krause's avatar Volker Krause
Browse files

Also show path details for transfer sections

parent 1c657241
Pipeline #73769 passed with stage
in 19 seconds
......@@ -325,7 +325,7 @@ Kirigami.ApplicationWindow {
onClicked: {
if (modelData.mode == JourneySection.PublicTransport) {
applicationWindow().pageStack.push(journeySectionPage, {"journeySection": modelData});
} else if ((modelData.mode == JourneySection.Walking || modelData.mode == JourneySection.Waiting) && modelData.path.sectionCount > 1) {
} else if ((modelData.mode == JourneySection.Walking || modelData.mode == JourneySection.Waiting || modelData.mode == JourneySection.Transfer) && modelData.path.sectionCount > 1) {
applicationWindow().pageStack.push(pathPage, {"path": modelData.path});
}
}
......
Supports Markdown
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