Fix #12283: Vehicle group dropdown shouldn't have default action (#12727)

This commit is contained in:
Tyler Trahan 2024-05-27 16:26:07 -04:00 committed by GitHub
parent f6c5da4cad
commit 37f68a65ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -846,7 +846,7 @@ public:
break; break;
case WID_GL_MANAGE_VEHICLES_DROPDOWN: { case WID_GL_MANAGE_VEHICLES_DROPDOWN: {
ShowDropDownList(this, this->BuildActionDropdownList(true, Group::IsValidID(this->vli.index), IsDefaultGroupID(this->vli.index)), 0, WID_GL_MANAGE_VEHICLES_DROPDOWN); ShowDropDownList(this, this->BuildActionDropdownList(true, Group::IsValidID(this->vli.index), IsDefaultGroupID(this->vli.index)), -1, WID_GL_MANAGE_VEHICLES_DROPDOWN);
break; break;
} }