# HG changeset patch # User smatz # Date 2008-05-17 16:59:12 # Node ID 109a9e789573408780057c076941b7d849fed008 # Parent d13ee79e1e387ad2dde1bf34204ba09f52a73a03 (svn r13143) -Fix (r13142): the Build Waypoint window wasn't resized when it was opened diff --git a/src/rail_gui.cpp b/src/rail_gui.cpp --- 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()