summaryrefslogtreecommitdiff
path: root/src/goal_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/goal_gui.cpp')
-rw-r--r--src/goal_gui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/goal_gui.cpp b/src/goal_gui.cpp
index f401b6dc1..b3a42bade 100644
--- a/src/goal_gui.cpp
+++ b/src/goal_gui.cpp
@@ -42,6 +42,7 @@ struct GoalListWindow : public Window {
this->CreateNestedTree();
this->vscroll = this->GetScrollbar(WID_GOAL_SCROLLBAR);
this->FinishInitNested(window_number);
+ this->owner = (Owner)this->window_number;
this->OnInvalidateData(0);
}