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