mirror of https://github.com/OpenTTD/OpenTTD
(svn r13092) -Fix (r13042): don't add a variable in a subclass when the parent class already have it
parent
7890344bbd
commit
22960e82aa
|
@ -997,10 +997,9 @@ enum QueryStringWidgets {
|
|||
|
||||
struct QueryStringWindow : public QueryStringBaseWindow
|
||||
{
|
||||
Window *parent;
|
||||
|
||||
QueryStringWindow(const WindowDesc *desc, Window *parent) : QueryStringBaseWindow(desc), parent(parent)
|
||||
QueryStringWindow(const WindowDesc *desc, Window *parent) : QueryStringBaseWindow(desc)
|
||||
{
|
||||
this->parent = parent;
|
||||
SetBit(_no_scroll, SCROLL_EDIT);
|
||||
|
||||
this->FindWindowPlacementAndResize(desc);
|
||||
|
|
Loading…
Reference in New Issue