Commit 2dd8110a authored by Volker Krause's avatar Volker Krause
Browse files

Fix alight earlier button state

parent 1c4b7132
......@@ -105,7 +105,7 @@ App.EditorPage {
footer: QQC2.Button {
text: i18n("Change arrival station")
enabled: stopSelector.currentIndex >= 0
enabled: alightStopSelector.currentIndex >= 0
onClicked: {
arrivalStation = PublicTransport.trainStationFromLocation(root.controller.journey.intermediateStops[alightStopSelector.currentIndex].stopPoint);
arrivalTime = Util.dateTimeStripTimezone(root.controller.journey.intermediateStops[alightStopSelector.currentIndex], "scheduledArrivalTime");
......
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