diff --git a/src/company_gui.cpp b/src/company_gui.cpp index 090ad984ea..a67b42e65f 100644 --- a/src/company_gui.cpp +++ b/src/company_gui.cpp @@ -1845,12 +1845,12 @@ struct CompanyInfrastructureWindow : Window { this->UpdateRailRoadTypes(); - this->owner = (Owner)this->window_number; - this->CreateNestedTree(); this->vscroll = this->GetScrollbar(WID_CI_SCROLLBAR); this->vscroll->SetStepSize(GetCharacterHeight(FS_NORMAL)); this->FinishInitNested(window_number); + + this->owner = (Owner)this->window_number; } void UpdateRailRoadTypes()