mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-10-31 15:20:10 +00:00
(svn r13092) -Fix (r13042): don't add a variable in a subclass when the parent class already have it
This commit is contained in:
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
Block a user