mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-22 23:55:12 +00:00
Userland: Construct Menus with name using the non-deprecated String
This commit is contained in:
committed by
Andreas Kling
parent
c4c1df7621
commit
956f4d9205
@@ -495,7 +495,7 @@ ErrorOr<NonnullRefPtr<GUI::Menu>> HackStudioWidget::create_project_tree_view_con
|
||||
m_tree_view_rename_action = GUI::CommonActions::make_rename_action([this](GUI::Action const&) {
|
||||
m_project_tree_view->begin_editing(m_project_tree_view->cursor_index());
|
||||
});
|
||||
auto project_tree_view_context_menu = GUI::Menu::construct("Project Files");
|
||||
auto project_tree_view_context_menu = GUI::Menu::construct(TRY("Project Files"_string));
|
||||
|
||||
auto& new_file_submenu = project_tree_view_context_menu->add_submenu("N&ew...");
|
||||
for (auto& new_file_action : m_new_file_actions) {
|
||||
|
||||
Reference in New Issue
Block a user