diff options
-rw-r--r-- | src/vehicle_gui.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp index f43f5b862..7d9e13e4a 100644 --- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -1114,7 +1114,9 @@ public: this->BuildVehicleList(this->owner, GB(this->window_number, 16, 16), window_type); this->SortVehicleList(); - if (this->vehicles.Length() == 0) HideDropDownMenu(this); + if (this->vehicles.Length() == 0 && this->IsWidgetLowered(VLW_WIDGET_MANAGE_VEHICLES_DROPDOWN)) { + HideDropDownMenu(this); + } /* Hide the widgets that we will not use in this window * Some windows contains actions only fit for the owner */ |