Tracrestrict: Fix non-train slot windows allowing unusable sort modes

pull/590/head
Jonathan G Rennison 9 months ago
parent a29c01493d
commit 672382f960

@ -4027,7 +4027,8 @@ public:
break;
case WID_TRSL_SORT_BY_DROPDOWN: // Select sorting criteria dropdown menu
ShowDropDownMenu(this, this->vehicle_group_none_sorter_names, this->vehgroups.SortType(), WID_TRSL_SORT_BY_DROPDOWN, 0, 0);
ShowDropDownMenu(this, this->vehicle_group_none_sorter_names, this->vehgroups.SortType(), WID_TRSL_SORT_BY_DROPDOWN, 0,
this->GetSorterDisableMask(this->vli.vtype), 0, DDSF_LOST_FOCUS);
return;
case WID_TRSL_FILTER_BY_CARGO: // Cargo filter dropdown

Loading…
Cancel
Save