summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/group_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/group_gui.cpp b/src/group_gui.cpp
index 7894a3b85..8525c883c 100644
--- a/src/group_gui.cpp
+++ b/src/group_gui.cpp
@@ -499,7 +499,7 @@ static void GroupWndProc(Window *w, WindowEvent *e)
}
case WE_CLICK:
- HideDropDownMenu(w);
+ if (e->we.click.widget != GRP_WIDGET_SORT_BY_DROPDOWN && e->we.click.widget != GRP_WIDGET_MANAGE_VEHICLES_DROPDOWN) HideDropDownMenu(w);
switch(e->we.click.widget) {
case GRP_WIDGET_SORT_BY_ORDER: // Flip sorting method ascending/descending