1
0
Fork 0

Fix 77f27e08: Crash due to incorrect use of AirportSpec::GetIndex

pull/12688/head
Jonathan G Rennison 2024-08-08 19:06:11 +01:00 committed by rubidium42
parent cfeab64aaf
commit daa4981922
1 changed files with 1 additions and 1 deletions

View File

@ -551,7 +551,7 @@ public:
if (as->IsAvailable()) { if (as->IsAvailable()) {
_selected_airport_class = cls.Index(); _selected_airport_class = cls.Index();
this->vscroll->SetCount(cls.GetSpecCount()); this->vscroll->SetCount(cls.GetSpecCount());
this->SelectOtherAirport(as->GetIndex()); this->SelectOtherAirport(as->index);
return; return;
} }
} }