diff options
Diffstat (limited to 'src/vehicle_gui.cpp')
-rw-r--r-- | src/vehicle_gui.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp index 1e8af36af..422fd9671 100644 --- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -1401,6 +1401,8 @@ struct VehicleDetailsWindow : Window { this->caption_color = v->owner; this->tab = 0; + + this->FindWindowPlacementAndResize(desc); } /** Checks whether service interval is enabled for the vehicle. */ @@ -1873,6 +1875,8 @@ struct VehicleViewWindow : Window { default: NOT_REACHED(); } + + this->FindWindowPlacementAndResize(desc); } ~VehicleViewWindow() |