diff options
author | smatz <smatz@openttd.org> | 2008-05-17 16:59:12 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-05-17 16:59:12 +0000 |
commit | acd36adf0b3422aab8e49d030902abbd9a1d015a (patch) | |
tree | a12c0f23a0d1a7a1dbe9ae643787ad12952f90a6 /src | |
parent | f9935785f736eb240de802a537c80d674ea04925 (diff) | |
download | openttd-acd36adf0b3422aab8e49d030902abbd9a1d015a.tar.xz |
(svn r13143) -Fix (r13142): the Build Waypoint window wasn't resized when it was opened
Diffstat (limited to 'src')
-rw-r--r-- | src/rail_gui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rail_gui.cpp b/src/rail_gui.cpp index 5c819742a..4db21bdd3 100644 --- a/src/rail_gui.cpp +++ b/src/rail_gui.cpp @@ -1473,6 +1473,7 @@ public: { this->hscroll.cap = 5; this->hscroll.count = _waypoint_count; + this->FindWindowPlacementAndResize(desc); }; virtual void OnPaint() |