Remove scrollable page from gsr page, fix crash when navigating back

This commit is contained in:
dec05eba
2024-08-24 14:08:25 +02:00
parent 54c60d9a18
commit b8e6949dfb
13 changed files with 136 additions and 88 deletions

View File

@@ -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));