mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-31 18:39: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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user