Departure boards: ignore departure_show_both setting for waypoints

This commit is contained in:
cakepie
2022-12-04 14:17:51 +08:00
committed by GitHub
parent 5fa9e5efb1
commit d5e1954e3b

View File

@@ -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) {