diff options
author | peter1138 <peter1138@openttd.org> | 2008-05-23 23:02:13 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2008-05-23 23:02:13 +0000 |
commit | 6f233b1f8f18beb1e347c943685f6086d886993e (patch) | |
tree | f8f7bc73f5f105177d305593ba5a478036481084 /src/vehicle_gui.cpp | |
parent | 95c230759505dbaeaec1e56922bb8eb57e92bd4a (diff) | |
download | openttd-6f233b1f8f18beb1e347c943685f6086d886993e.tar.xz |
(svn r13225) -Fix (r13041): Missing calls to FindWindowPlacementAndResize() from lots
of windows causing 'two stage' opening effect.
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() |