summaryrefslogtreecommitdiff
path: root/Userland/Applications/TextEditor/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Applications/TextEditor/main.cpp')
-rw-r--r--Userland/Applications/TextEditor/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/TextEditor/main.cpp b/Userland/Applications/TextEditor/main.cpp
index 5160b10152..abbb39fa38 100644
--- a/Userland/Applications/TextEditor/main.cpp
+++ b/Userland/Applications/TextEditor/main.cpp
@@ -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();