diff options
author | peter1138 <peter1138@openttd.org> | 2008-03-15 21:35:48 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2008-03-15 21:35:48 +0000 |
commit | 38be279d3a416ab991a83221464c10659b7feff7 (patch) | |
tree | 63b593a7cd180b0c7041b89ebbc905820ba48cba /src | |
parent | 62a7587586070bbb78ac09c72e10da76be897c11 (diff) | |
download | openttd-38be279d3a416ab991a83221464c10659b7feff7.tar.xz |
(svn r12374) -Fix (r11892): Don't close a dropmenu when clicking on a dropdown widget
Diffstat (limited to 'src')
-rw-r--r-- | src/group_gui.cpp | 2 |
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 |