From d5e1954e3b2a2c331199433121210b5359418b48 Mon Sep 17 00:00:00 2001 From: cakepie Date: Sun, 4 Dec 2022 14:17:51 +0800 Subject: [PATCH] Departure boards: ignore departure_show_both setting for waypoints --- src/departures_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/departures_gui.cpp b/src/departures_gui.cpp index 96dfad916d..3dabdc9b33 100644 --- a/src/departures_gui.cpp +++ b/src/departures_gui.cpp @@ -252,7 +252,7 @@ public: this->RaiseWidget(WID_DB_SHOW_VIA); this->LowerWidget(WID_DB_SHOW_PAX); this->LowerWidget(WID_DB_SHOW_FREIGHT); - this->SetDepartureTypesDisabledState(); + if (!Twaypoint) this->SetDepartureTypesDisabledState(); this->SetCargoFilterDisabledState(); for (uint i = 0; i < 4; ++i) {