From 04694ae682993b463c1ee7bf540cc62f8765a074 Mon Sep 17 00:00:00 2001 From: Karol Kosek Date: Wed, 25 Aug 2021 22:30:49 +0200 Subject: [PATCH] ThemeEditor: Place menu quit action as the last item No other applications put this action as the first item. --- Userland/Applications/ThemeEditor/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Userland/Applications/ThemeEditor/main.cpp b/Userland/Applications/ThemeEditor/main.cpp index 8e1dfd99af2..2385b5aa1fa 100644 --- a/Userland/Applications/ThemeEditor/main.cpp +++ b/Userland/Applications/ThemeEditor/main.cpp @@ -90,7 +90,6 @@ int main(int argc, char** argv) #undef __ENUMERATE_COLOR_ROLE auto& file_menu = window->add_menu("&File"); - file_menu.add_action(GUI::CommonActions::make_quit_action([&](auto&) { app->quit(); })); Optional path = {}; @@ -120,6 +119,9 @@ int main(int argc, char** argv) save_to_result(FileSystemAccessClient::Client::the().save_file(window->window_id(), "Theme", "ini")); })); + file_menu.add_separator(); + file_menu.add_action(GUI::CommonActions::make_quit_action([&](auto&) { app->quit(); })); + auto& help_menu = window->add_menu("&Help"); help_menu.add_action(GUI::CommonActions::make_about_action("Theme Editor", app_icon, window));