mirror of https://github.com/OpenTTD/OpenTTD
Codefix: Incorrect type for OnDropdownSelect widget parameter.
parent
415ac07a08
commit
0065676229
|
@ -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 (this->stations.SortType() != index) {
|
||||
|
|
Loading…
Reference in New Issue