mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:48:10 +00:00
TextEditor: Propagate errors from MainWidget::initialize_menubar()
This commit is contained in:
parent
83af64f053
commit
84a231d4e5
3 changed files with 104 additions and 103 deletions
|
@ -67,7 +67,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
return 1;
|
||||
}
|
||||
|
||||
text_widget->initialize_menubar(*window);
|
||||
TRY(text_widget->initialize_menubar(*window));
|
||||
text_widget->update_title();
|
||||
|
||||
window->show();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue