mirror of https://github.com/OpenTTD/OpenTTD
(svn r13278) -Fix: Missing call to FindWindowPlacementAndResize() for drop down lists
parent
495ca8fdb9
commit
88f2ef652e
|
@ -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)
|
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()
|
~DropdownWindow()
|
||||||
|
|
Loading…
Reference in New Issue