1
0
Fork 0

(svn r14133) -Fix [FS#2249]: close the 'manage vehicles' dropdown once the number of vehicles in the list reaches 0.

release/0.7
rubidium 2008-08-22 22:54:38 +00:00
parent 12f38e56df
commit ca27155a52
1 changed files with 2 additions and 0 deletions

View File

@ -883,6 +883,8 @@ struct VehicleListWindow : public Window, public VehicleListBase {
SortVehicleList(this);
SetVScrollCount(this, this->vehicles.Length());
if (this->vehicles.Length() == 0) HideDropDownMenu(this);
/* draw the widgets */
switch (window_type) {
case VLW_SHARED_ORDERS: /* Shared Orders */