summaryrefslogtreecommitdiff
path: root/Userland/Applications/TextEditor/TextEditorWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Applications/TextEditor/TextEditorWidget.cpp')
-rw-r--r--Userland/Applications/TextEditor/TextEditorWidget.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/Userland/Applications/TextEditor/TextEditorWidget.cpp b/Userland/Applications/TextEditor/TextEditorWidget.cpp
index e4c7dcb521..8724942e1a 100644
--- a/Userland/Applications/TextEditor/TextEditorWidget.cpp
+++ b/Userland/Applications/TextEditor/TextEditorWidget.cpp
@@ -353,13 +353,13 @@ TextEditorWidget::~TextEditorWidget()
void TextEditorWidget::initialize_menubar(GUI::Menubar& menubar)
{
- auto& app_menu = menubar.add_menu("&File");
- app_menu.add_action(*m_new_action);
- app_menu.add_action(*m_open_action);
- app_menu.add_action(*m_save_action);
- app_menu.add_action(*m_save_as_action);
- app_menu.add_separator();
- app_menu.add_action(GUI::CommonActions::make_quit_action([this](auto&) {
+ auto& file_menu = menubar.add_menu("&File");
+ file_menu.add_action(*m_new_action);
+ file_menu.add_action(*m_open_action);
+ file_menu.add_action(*m_save_action);
+ file_menu.add_action(*m_save_as_action);
+ file_menu.add_separator();
+ file_menu.add_action(GUI::CommonActions::make_quit_action([this](auto&) {
if (!request_close())
return;
GUI::Application::the()->quit();