1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:17:45 +00:00

Userland: Let applications make use of make_command_palette_action()

This commit is contained in:
demostanis 2022-10-14 22:27:30 +02:00 committed by Linus Groh
parent eb8c2bde90
commit 34acae90c7
45 changed files with 47 additions and 0 deletions

View file

@ -121,6 +121,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
round_menu.action_at(last_rounding_mode.value())->activate();
auto& help_menu = window->add_menu("&Help");
help_menu.add_action(GUI::CommonActions::make_command_palette_action(window));
help_menu.add_action(GUI::CommonActions::make_about_action("Calculator", app_icon, window));
window->show();