1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 07:37:35 +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

@ -143,7 +143,7 @@ int main(int argc, char* argv[])
return GUI::Window::CloseRequestDecision::StayOpen;
};
auto& edit_menu = menubar->add_menu("Edit");
auto& edit_menu = menubar->add_menu("&Edit");
auto clipboard_action = [&](bool is_cut) {
/// text/x-spreadsheet-data:
@ -233,7 +233,7 @@ int main(int argc, char* argv[])
},
window));
auto& help_menu = menubar->add_menu("Help");
auto& help_menu = menubar->add_menu("&Help");
help_menu.add_action(GUI::Action::create(
"Functions Help", [&](auto&) {