Codechange: Replace drop down list's default bools with DropDownOptions. (#14837)

Improves maintainability and avoids positional ambiguity.
This commit is contained in:
Peter Nelson
2025-11-29 16:17:44 +00:00
committed by dP
parent 0303cc0d4f
commit 676c4d6be6
7 changed files with 49 additions and 43 deletions
+1 -1
View File
@@ -664,7 +664,7 @@ public:
case WID_STL_CARGODROPDOWN:
this->filter_expanded = false;
ShowDropDownList(this, this->BuildCargoDropDownList(this->filter_expanded), -1, widget, 0, false, true);
ShowDropDownList(this, this->BuildCargoDropDownList(this->filter_expanded), -1, widget, 0, DropDownOption::Persist);
break;
}
}