diff options
Diffstat (limited to 'src/gui/Page.cpp')
-rw-r--r-- | src/gui/Page.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/Page.cpp b/src/gui/Page.cpp index 19e3f2c..7d43c00 100644 --- a/src/gui/Page.cpp +++ b/src/gui/Page.cpp @@ -2,6 +2,7 @@ namespace gsr { void Page::add_widget(std::unique_ptr<Widget> widget) { + widget->parent_widget = this; widgets.push_back(std::move(widget)); } }
\ No newline at end of file |