@@ -560,17 +560,18 @@ public:
/* If all airports are unavailable, select nothing. */
this->SelectOtherAirport(-1);
}
void OnDropdownSelect(int widget, int index) override
{
assert(widget == WID_AP_CLASS_DROPDOWN);
if (widget == WID_AP_CLASS_DROPDOWN) {
_selected_airport_class = (AirportClassID)index;
this->vscroll->SetCount(AirportClass::Get(_selected_airport_class)->GetSpecCount());
this->SelectFirstAvailableAirport(false);
void OnRealtimeTick([[maybe_unused]] uint delta_ms) override
CheckRedrawStationCoverage(this);