aboutsummaryrefslogtreecommitdiff
path: root/src/gui/SettingsPage.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-08-24 14:08:25 +0200
committerdec05eba <dec05eba@protonmail.com>2024-08-24 14:08:25 +0200
commitb8e6949dfb8a88c832e82f8b7e853fe0ed462da0 (patch)
tree596f3f33b44aee1feb4d28477f4270ad826434b2 /src/gui/SettingsPage.cpp
parent54c60d9a18d103011a12939c5029dd35a8e9e200 (diff)
Remove scrollable page from gsr page, fix crash when navigating back
Diffstat (limited to 'src/gui/SettingsPage.cpp')
-rw-r--r--src/gui/SettingsPage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/SettingsPage.cpp b/src/gui/SettingsPage.cpp
index d6022ab..94e51a2 100644
--- a/src/gui/SettingsPage.cpp
+++ b/src/gui/SettingsPage.cpp
@@ -370,7 +370,7 @@ namespace gsr {
page_stack->pop();
});
- auto file_chooser = std::make_unique<gsr::FileChooser>("/home/dec05eba", select_directory_page->get_size());
+ auto file_chooser = std::make_unique<gsr::FileChooser>("/home/dec05eba", select_directory_page->get_inner_size());
select_directory_page->add_widget(std::move(file_chooser));
page_stack->push(std::move(select_directory_page));