summaryrefslogtreecommitdiff
path: root/src/timetable_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
commitcfc45e97ab94c6d96f32b3397201c003b61ccd75 (patch)
treef8f7bc73f5f105177d305593ba5a478036481084 /src/timetable_gui.cpp
parent7ba02ef2b0e67c4bfea054875e675b6cb999e922 (diff)
downloadopenttd-cfc45e97ab94c6d96f32b3397201c003b61ccd75.tar.xz
(svn r13225) -Fix (r13041): Missing calls to FindWindowPlacementAndResize() from lots
of windows causing 'two stage' opening effect.
Diffstat (limited to 'src/timetable_gui.cpp')
-rw-r--r--src/timetable_gui.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/timetable_gui.cpp b/src/timetable_gui.cpp
index 0052a5f09..1a4f7d75b 100644
--- a/src/timetable_gui.cpp
+++ b/src/timetable_gui.cpp
@@ -56,6 +56,8 @@ struct TimetableWindow : Window {
this->vscroll.cap = 8;
this->resize.step_height = 10;
this->sel_index = -1;
+
+ this->FindWindowPlacementAndResize(desc);
}
int GetOrderFromTimetableWndPt(int y, const Vehicle *v)