diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-08-02 23:38:23 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-08-02 23:53:28 +0200 |
commit | 2869ef7cec7de6bc744cdba9e753dbd0df4ab65b (patch) | |
tree | 1d15c5679197b38d42cabb3e74143ef63a930d84 /src/gui/Page.cpp | |
parent | 7c4af06d953ad439906f85ec996ad00dd38d2302 (diff) |
Add widgets for settings page, add list to auto position widgets
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 |