Commit 49dfe300 authored by Volker Krause's avatar Volker Krause
Browse files

Show the navigation path details also for individual transport sections

parent 6aa9e843
Pipeline #87552 passed with stage
in 1 minute and 58 seconds
......@@ -336,7 +336,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.mode == JourneySection.Transfer) && modelData.path.sectionCount > 1) {
} else if (modelData.path.sectionCount > 1) {
applicationWindow().pageStack.push(pathPage, {"path": modelData.path});
}
}
......
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