From b8e6949dfb8a88c832e82f8b7e853fe0ed462da0 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 24 Aug 2024 14:08:25 +0200 Subject: Remove scrollable page from gsr page, fix crash when navigating back --- src/gui/SettingsPage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/SettingsPage.cpp') 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("/home/dec05eba", select_directory_page->get_size()); + auto file_chooser = std::make_unique("/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)); -- cgit v1.2.3