mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00:00
LibGUI+Userland: Make Menu::*add_submmenu take name using new string
This commit is contained in:
parent
969543a847
commit
51bd9ca037
Notes:
sideshowbarker
2024-07-16 23:59:28 +09:00
Author: https://github.com/krkk
Commit: 51bd9ca037
Pull-request: https://github.com/SerenityOS/serenity/pull/18397
18 changed files with 42 additions and 42 deletions
|
@ -415,7 +415,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
|
||||
auto file_menu = TRY(window->try_add_menu("&File"_short_string));
|
||||
|
||||
auto& export_submenu = file_menu->add_submenu("&Export");
|
||||
auto& export_submenu = file_menu->add_submenu("&Export"_short_string);
|
||||
|
||||
TRY(export_submenu.try_add_action(GUI::Action::create("As &BMP",
|
||||
[&](GUI::Action&) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue