1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 12:08:14 +00:00

Everywhere: Add Alt shortcuts to remaining top-level menus

Not sure why some menus did have one and others didn't, even in the
same application - now they all do. :^)
I added character shortcuts to some menu actions as well.
This commit is contained in:
Linus Groh 2021-05-12 18:09:42 +01:00
parent f2154bca17
commit 91eda22208
23 changed files with 49 additions and 42 deletions

View file

@ -220,7 +220,7 @@ int main(int argc, char** argv)
window->resize(640, 400);
auto menubar = GUI::Menubar::construct();
auto& file_menu = menubar->add_menu("File");
auto& file_menu = menubar->add_menu("&File");
file_menu.add_action(GUI::CommonActions::make_quit_action([&](auto&) { app->quit(); }));
window->set_menubar(move(menubar));