mirror of https://github.com/OpenTTD/OpenTTD
Codefix: Incorrect type for OnDropdownSelect widget parameter. (#14074)
parent
4149384ebc
commit
d028c7f9e2
|
@ -668,7 +668,7 @@ public:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void OnDropdownSelect(int widget, int index) override
|
void OnDropdownSelect(WidgetID widget, int index) override
|
||||||
{
|
{
|
||||||
if (widget == WID_STL_SORTDROPBTN) {
|
if (widget == WID_STL_SORTDROPBTN) {
|
||||||
if (this->stations.SortType() != index) {
|
if (this->stations.SortType() != index) {
|
||||||
|
|
Loading…
Reference in New Issue