Remove "Show cargo type filter in vehicle lists" setting

This commit is contained in:
Jonathan G Rennison
2023-12-17 00:01:09 +00:00
parent 5ae74ecf8e
commit 2267badd28
14 changed files with 1 additions and 60 deletions

View File

@@ -3831,8 +3831,6 @@ public:
{
this->CreateNestedTree();
this->CheckCargoFilterEnableState(WID_TRSL_FILTER_BY_CARGO_SEL, false);
this->vscroll = this->GetScrollbar(WID_TRSL_LIST_VEHICLE_SCROLLBAR);
this->slot_sb = this->GetScrollbar(WID_TRSL_LIST_SLOTS_SCROLLBAR);
this->sorting = &_sorting[GB_NONE].train;
@@ -3939,8 +3937,6 @@ public:
this->vli.index = ALL_TRAINS_TRACE_RESTRICT_SLOT_ID;
}
if (gui_scope) this->CheckCargoFilterEnableState(WID_TRSL_FILTER_BY_CARGO_SEL, true);
this->SetDirty();
}