From 37f68a65ee652bf5df9f89d79e4ff0e47c2d5851 Mon Sep 17 00:00:00 2001 From: Tyler Trahan Date: Mon, 27 May 2024 16:26:07 -0400 Subject: [PATCH] Fix #12283: Vehicle group dropdown shouldn't have default action (#12727) --- src/group_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/group_gui.cpp b/src/group_gui.cpp index 8f3ff5dfcb..095a371244 100644 --- a/src/group_gui.cpp +++ b/src/group_gui.cpp @@ -846,7 +846,7 @@ public: break; 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; }