summaryrefslogtreecommitdiff
path: root/src/story_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/story_gui.cpp')
-rw-r--r--src/story_gui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/story_gui.cpp b/src/story_gui.cpp
index e2a325911..b6f02552d 100644
--- a/src/story_gui.cpp
+++ b/src/story_gui.cpp
@@ -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';