From 24481998fa7247fbde8652077c308c95f8a6d6a4 Mon Sep 17 00:00:00 2001 From: zuu Date: Thu, 12 Sep 2013 14:35:52 +0000 Subject: (svn r25759) -Fix (r25369): Set the owner flag of the goal and story windows --- src/goal_gui.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/goal_gui.cpp') 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); } -- cgit v1.2.3-54-g00ecf