diff options
Diffstat (limited to 'Userland/Demos/ModelGallery')
-rw-r--r-- | Userland/Demos/ModelGallery/GalleryWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Demos/ModelGallery/GalleryWidget.cpp b/Userland/Demos/ModelGallery/GalleryWidget.cpp index 1c4bace5d6..5808d82cd8 100644 --- a/Userland/Demos/ModelGallery/GalleryWidget.cpp +++ b/Userland/Demos/ModelGallery/GalleryWidget.cpp @@ -26,7 +26,7 @@ GalleryWidget::GalleryWidget() ErrorOr<void> GalleryWidget::load_basic_model_tab() { auto tab = TRY(m_tab_widget->try_add_tab<GUI::Widget>("Basic Model")); - tab->load_from_gml(basic_model_tab_gml); + TRY(tab->try_load_from_gml(basic_model_tab_gml)); m_basic_model = BasicModel::create(); m_basic_model_table = *tab->find_descendant_of_type_named<GUI::TableView>("model_table"); |