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 | 88f9fa89bc843eccf79de2f953c01b883bbf00f1 (patch) | |
tree | a12c0f23a0d1a7a1dbe9ae643787ad12952f90a6 /src | |
parent | fdcb4e64022a046a7b2e9006ee4fe35f59de0069 (diff) | |
download | openttd-88f9fa89bc843eccf79de2f953c01b883bbf00f1.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() |