diff --git a/src/tracerestrict_gui.cpp b/src/tracerestrict_gui.cpp index 976e386f43..46c5d9e990 100644 --- a/src/tracerestrict_gui.cpp +++ b/src/tracerestrict_gui.cpp @@ -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