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 | 6f233b1f8f18beb1e347c943685f6086d886993e (patch) | |
tree | f8f7bc73f5f105177d305593ba5a478036481084 /src/cheat_gui.cpp | |
parent | 95c230759505dbaeaec1e56922bb8eb57e92bd4a (diff) | |
download | openttd-6f233b1f8f18beb1e347c943685f6086d886993e.tar.xz |
(svn r13225) -Fix (r13041): Missing calls to FindWindowPlacementAndResize() from lots
of windows causing 'two stage' opening effect.
Diffstat (limited to 'src/cheat_gui.cpp')
-rw-r--r-- | src/cheat_gui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cheat_gui.cpp b/src/cheat_gui.cpp index 67d191cb4..42b8ca470 100644 --- a/src/cheat_gui.cpp +++ b/src/cheat_gui.cpp @@ -125,6 +125,7 @@ struct CheatWindow : Window { CheatWindow(const WindowDesc *desc) : Window(desc) { + this->FindWindowPlacementAndResize(desc); } virtual void OnPaint() |