Changeset - r20720:53a4744858a4
[Not reviewed]
master
0 2 0
zuu - 11 years ago 2013-09-12 14:35:52
zuu@openttd.org
(svn r25759) -Fix (r25369): Set the owner flag of the goal and story windows
2 files changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/goal_gui.cpp
Show inline comments
 
@@ -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);
 
	}
 

	
src/story_gui.cpp
Show inline comments
 
@@ -426,6 +426,7 @@ public:
 
		/* story_page_elements will get built by SetSelectedPage */
 

	
 
		this->FinishInitNested(window_number);
 
		this->owner = (Owner)this->window_number;
 

	
 
		/* Initialize selected vars. */
 
		this->selected_generic_title[0] = '\0';
0 comments (0 inline, 0 general)