equal
deleted
inserted
replaced
881 |
881 |
882 BuildVehicleList(this, owner, index, window_type); |
882 BuildVehicleList(this, owner, index, window_type); |
883 SortVehicleList(this); |
883 SortVehicleList(this); |
884 SetVScrollCount(this, this->vehicles.Length()); |
884 SetVScrollCount(this, this->vehicles.Length()); |
885 |
885 |
|
886 if (this->vehicles.Length() == 0) HideDropDownMenu(this); |
|
887 |
886 /* draw the widgets */ |
888 /* draw the widgets */ |
887 switch (window_type) { |
889 switch (window_type) { |
888 case VLW_SHARED_ORDERS: /* Shared Orders */ |
890 case VLW_SHARED_ORDERS: /* Shared Orders */ |
889 if (this->vehicles.Length() == 0) { |
891 if (this->vehicles.Length() == 0) { |
890 /* We can't open this window without vehicles using this order |
892 /* We can't open this window without vehicles using this order |