1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-29 01:19:11 +00:00

(svn r12374) -Fix (r11892): Don't close a dropmenu when clicking on a dropdown widget

This commit is contained in:
2008-03-15 21:35:48 +00:00
parent 013d7db19f
commit e27de79990

View File

@@ -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