summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2008-05-26 21:40:52 +0000
committerpeter1138 <peter1138@openttd.org>2008-05-26 21:40:52 +0000
commit855336a1e60a9a1630442efc3318aa4605c03f3d (patch)
tree69d9c7a68fd4400f2747a6991e244c025f990155
parent290b3bd3cc6e0562d7561d2319d5805d46bd54e3 (diff)
downloadopenttd-855336a1e60a9a1630442efc3318aa4605c03f3d.tar.xz
(svn r13278) -Fix: Missing call to FindWindowPlacementAndResize() for drop down lists
-rw-r--r--src/widgets/dropdown.cpp1
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()