| 1922 | */ |
| 1923 | template <class Tid> |
| 1924 | void HandleCargoWaitingClick(CargoDataEntry *filter, Tid next) |
| 1925 | { |
| 1926 | if (filter->Retrieve(next) != nullptr) { |
| 1927 | filter->Remove(next); |
| 1928 | } else { |
| 1929 | filter->InsertOrRetrieve(next); |
| 1930 | } |
| 1931 | } |
| 1932 | |
| 1933 | /** |
| 1934 | * Handle a click on a specific row in the cargo view. |
no test coverage detected