mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 22:27:42 +00:00
SQLStudio: Propagate errors from MainWidget::initialize_menubar()
This commit is contained in:
parent
0b110c88ae
commit
83af64f053
3 changed files with 27 additions and 26 deletions
|
@ -31,7 +31,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
window->set_title("SQL Studio");
|
||||
|
||||
auto main_widget = TRY(window->set_main_widget<MainWidget>());
|
||||
main_widget->initialize_menu(window);
|
||||
TRY(main_widget->initialize_menu(window));
|
||||
|
||||
window->on_close_request = [&] {
|
||||
if (main_widget->request_close())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue