mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-18 09:55:19 +01:00
Fix 4c8f1b0f81
: First entry of station cargo filter list was broken. (#13382)
Additional indent parameter was missing.
This commit is contained in:
parent
492a5284ea
commit
6c9b3f17b7
@ -590,7 +590,7 @@ public:
|
||||
if (count == 0 && !expanded) {
|
||||
any_hidden = true;
|
||||
} else {
|
||||
list.push_back(std::make_unique<DropDownString<DropDownListCheckedItem, FS_SMALL, true>>(fmt::format("{}", count), this->filter.include_no_rating, STR_STATION_LIST_CARGO_FILTER_NO_RATING, CargoFilterCriteria::CF_NO_RATING, false, count == 0));
|
||||
list.push_back(std::make_unique<DropDownString<DropDownListCheckedItem, FS_SMALL, true>>(fmt::format("{}", count), 0, this->filter.include_no_rating, STR_STATION_LIST_CARGO_FILTER_NO_RATING, CargoFilterCriteria::CF_NO_RATING, false, count == 0));
|
||||
}
|
||||
|
||||
Dimension d = GetLargestCargoIconSize();
|
||||
|
Loading…
Reference in New Issue
Block a user