diff options
author | peter1138 <peter1138@openttd.org> | 2008-05-23 23:02:13 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2008-05-23 23:02:13 +0000 |
commit | cfc45e97ab94c6d96f32b3397201c003b61ccd75 (patch) | |
tree | f8f7bc73f5f105177d305593ba5a478036481084 /src/graph_gui.cpp | |
parent | 7ba02ef2b0e67c4bfea054875e675b6cb999e922 (diff) | |
download | openttd-cfc45e97ab94c6d96f32b3397201c003b61ccd75.tar.xz |
(svn r13225) -Fix (r13041): Missing calls to FindWindowPlacementAndResize() from lots
of windows causing 'two stage' opening effect.
Diffstat (limited to 'src/graph_gui.cpp')
-rw-r--r-- | src/graph_gui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/graph_gui.cpp b/src/graph_gui.cpp index 2cc1fe12d..69264ec9b 100644 --- a/src/graph_gui.cpp +++ b/src/graph_gui.cpp @@ -769,6 +769,7 @@ static int CDECL PerfHistComp(const void* elem1, const void* elem2) struct CompanyLeagueWindow : Window { CompanyLeagueWindow(const WindowDesc *desc, WindowNumber window_number) : Window(desc, window_number) { + this->FindWindowPlacementAndResize(desc); } virtual void OnPaint() |