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

This commit is contained in:
peter1138 2008-03-15 21:35:48 +00:00
parent 013d7db19f
commit e27de79990
1 changed files with 1 additions and 1 deletions

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