mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r12374) -Fix (r11892): Don't close a dropmenu when clicking on a dropdown widget
This commit is contained in:
parent
013d7db19f
commit
e27de79990
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue