ThemeEditor: Place menu quit action as the last item
No other applications put this action as the first item.
This commit is contained in:
parent
ae97241ded
commit
04694ae682
Notes:
sideshowbarker
2024-07-19 17:18:02 +09:00
Author: https://github.com/krkk Commit: https://github.com/SerenityOS/serenity/commit/04694ae6829 Pull-request: https://github.com/SerenityOS/serenity/pull/9608
1 changed files with 3 additions and 1 deletions
|
@ -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<String> 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));
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue