diff options
author | Linus Groh <mail@linusgroh.de> | 2021-05-12 18:09:42 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-05-12 18:09:42 +0100 |
commit | 91eda222087048fef131a1bc39bcda947bce2288 (patch) | |
tree | 0607a7dd78ae8e36600ef397bff639040161ee2b /Userland/Applications/Piano | |
parent | f2154bca179e5242390e8b3230607360bdaa2949 (diff) | |
download | serenity-91eda222087048fef131a1bc39bcda947bce2288.zip |
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.
Diffstat (limited to 'Userland/Applications/Piano')
-rw-r--r-- | Userland/Applications/Piano/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Applications/Piano/main.cpp b/Userland/Applications/Piano/main.cpp index b29a038765..a584d2331f 100644 --- a/Userland/Applications/Piano/main.cpp +++ b/Userland/Applications/Piano/main.cpp @@ -91,7 +91,7 @@ int main(int argc, char** argv) auto menubar = GUI::Menubar::construct(); - auto& file_menu = menubar->add_menu("File"); + auto& file_menu = menubar->add_menu("&File"); file_menu.add_action(GUI::Action::create("Export", { Mod_Ctrl, Key_E }, [&](const GUI::Action&) { save_path = GUI::FilePicker::get_save_filepath(window, "Untitled", "wav"); if (!save_path.has_value()) @@ -110,10 +110,10 @@ int main(int argc, char** argv) return; })); - auto& edit_menu = menubar->add_menu("Edit"); + auto& edit_menu = menubar->add_menu("&Edit"); main_widget.add_actions(edit_menu); - auto& help_menu = menubar->add_menu("Help"); + auto& help_menu = menubar->add_menu("&Help"); help_menu.add_action(GUI::CommonActions::make_about_action("Piano", app_icon, window)); window->set_menubar(move(menubar)); |