summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Userland/Applications/Magnifier/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Userland/Applications/Magnifier/main.cpp b/Userland/Applications/Magnifier/main.cpp
index 4535a6ed02..cba66e6db9 100644
--- a/Userland/Applications/Magnifier/main.cpp
+++ b/Userland/Applications/Magnifier/main.cpp
@@ -57,10 +57,6 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
auto magnifier = TRY(window->try_set_main_widget<MagnifierWidget>());
auto file_menu = TRY(window->try_add_menu("&File"));
- TRY(file_menu->try_add_action(GUI::CommonActions::make_quit_action([&](auto&) {
- app->quit();
- })));
-
TRY(file_menu->try_add_action(GUI::CommonActions::make_save_as_action([&](auto&) {
AK::DeprecatedString filename = "file for saving";
auto do_save = [&]() -> ErrorOr<void> {
@@ -84,6 +80,10 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
warnln("Error saving bitmap to {}: {}", filename, result.error().string_literal());
}
})));
+ TRY(file_menu->try_add_separator());
+ TRY(file_menu->try_add_action(GUI::CommonActions::make_quit_action([&](auto&) {
+ app->quit();
+ })));
auto size_action_group = make<GUI::ActionGroup>();