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:
parent
f2154bca17
commit
91eda22208
23 changed files with 49 additions and 42 deletions
|
@ -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));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue