Tracrestrict: Fix non-train slot windows allowing unusable sort modes
This commit is contained in:
@@ -4027,7 +4027,8 @@ public:
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case WID_TRSL_SORT_BY_DROPDOWN: // Select sorting criteria dropdown menu
|
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;
|
return;
|
||||||
|
|
||||||
case WID_TRSL_FILTER_BY_CARGO: // Cargo filter dropdown
|
case WID_TRSL_FILTER_BY_CARGO: // Cargo filter dropdown
|
||||||
|
Reference in New Issue
Block a user