diff options
-rw-r--r-- | src/vehicle_gui.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp index 6ccc7ce79..55f254532 100644 --- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -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 */ |