src/group_gui.cpp
changeset 9197 040eb13834c4
parent 9110 55864e1fc263
child 9266 416385a64dcb
equal deleted inserted replaced
9196:5e28b70db025 9197:040eb13834c4
   497 
   497 
   498 			break;
   498 			break;
   499 		}
   499 		}
   500 
   500 
   501 		case WE_CLICK:
   501 		case WE_CLICK:
   502 			HideDropDownMenu(w);
   502 			if (e->we.click.widget != GRP_WIDGET_SORT_BY_DROPDOWN && e->we.click.widget != GRP_WIDGET_MANAGE_VEHICLES_DROPDOWN) HideDropDownMenu(w);
   503 
   503 
   504 			switch(e->we.click.widget) {
   504 			switch(e->we.click.widget) {
   505 				case GRP_WIDGET_SORT_BY_ORDER: // Flip sorting method ascending/descending
   505 				case GRP_WIDGET_SORT_BY_ORDER: // Flip sorting method ascending/descending
   506 					gv->l.flags ^= VL_DESC;
   506 					gv->l.flags ^= VL_DESC;
   507 					gv->l.flags |= VL_RESORT;
   507 					gv->l.flags |= VL_RESORT;