summaryrefslogtreecommitdiff
path: root/src/station_gui.cpp
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2008-05-23 23:02:13 +0000
committerpeter1138 <peter1138@openttd.org>2008-05-23 23:02:13 +0000
commit6f233b1f8f18beb1e347c943685f6086d886993e (patch)
treef8f7bc73f5f105177d305593ba5a478036481084 /src/station_gui.cpp
parent95c230759505dbaeaec1e56922bb8eb57e92bd4a (diff)
downloadopenttd-6f233b1f8f18beb1e347c943685f6086d886993e.tar.xz
(svn r13225) -Fix (r13041): Missing calls to FindWindowPlacementAndResize() from lots
of windows causing 'two stage' opening effect.
Diffstat (limited to 'src/station_gui.cpp')
-rw-r--r--src/station_gui.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/station_gui.cpp b/src/station_gui.cpp
index ba2abc5ee..4086f9ad8 100644
--- a/src/station_gui.cpp
+++ b/src/station_gui.cpp
@@ -318,6 +318,8 @@ struct PlayerStationsWindow : public Window, public GUIStationList
/* set up resort timer */
this->resort_timer = DAY_TICKS * PERIODIC_RESORT_DAYS;
+
+ this->FindWindowPlacementAndResize(desc);
}
virtual void OnPaint()