diff options
author | peter1138 <peter1138@openttd.org> | 2008-05-26 21:40:52 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2008-05-26 21:40:52 +0000 |
commit | 88f2ef652e5321c9230eb3e55cf082d5392cdada (patch) | |
tree | 69d9c7a68fd4400f2747a6991e244c025f990155 /src | |
parent | 495ca8fdb9e658ebcdb8aa90bafc2df107819ea9 (diff) | |
download | openttd-88f2ef652e5321c9230eb3e55cf082d5392cdada.tar.xz |
(svn r13278) -Fix: Missing call to FindWindowPlacementAndResize() for drop down lists
Diffstat (limited to 'src')
-rw-r--r-- | src/widgets/dropdown.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widgets/dropdown.cpp b/src/widgets/dropdown.cpp index b9857ddaf..c16e4a367 100644 --- a/src/widgets/dropdown.cpp +++ b/src/widgets/dropdown.cpp @@ -74,6 +74,7 @@ struct DropdownWindow : Window { DropdownWindow(int x, int y, int width, int height, const Widget *widget) : Window(x, y, width, height, WC_DROPDOWN_MENU, widget) { + this->FindWindowPlacementAndResize(width, height); } ~DropdownWindow() |