diff options
author | James Liu <james@jamesliu.io> | 2023-05-09 20:59:39 +1000 |
---|---|---|
committer | Sam Atkins <atkinssj@gmail.com> | 2023-05-10 09:13:07 +0100 |
commit | f248f566b89f7b771f01746a27bd4d52e9c74903 (patch) | |
tree | 673fc48d05da27cbbaf3b83ab7b5aac43064c616 /Userland/Applications/Help | |
parent | 14cb0067bba18a23fe53b615a7f8417787d95fc2 (diff) | |
download | serenity-f248f566b89f7b771f01746a27bd4d52e9c74903.zip |
Help: Fix link to Contents page
Diffstat (limited to 'Userland/Applications/Help')
-rw-r--r-- | Userland/Applications/Help/MainWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/Help/MainWidget.cpp b/Userland/Applications/Help/MainWidget.cpp index 6dcd055880..0fdcbf0aca 100644 --- a/Userland/Applications/Help/MainWidget.cpp +++ b/Userland/Applications/Help/MainWidget.cpp @@ -213,7 +213,7 @@ ErrorOr<void> MainWidget::initialize_fallibles(GUI::Window& window) TRY(go_menu->try_add_action(*m_go_home_action)); auto help_menu = TRY(window.try_add_menu("&Help"_short_string)); - String help_page_path = TRY(TRY(try_make_ref_counted<Manual::PageNode>(Manual::sections[1 - 1], TRY("Help"_string)))->path()); + String help_page_path = TRY(TRY(try_make_ref_counted<Manual::PageNode>(Manual::sections[1 - 1], TRY("Applications/Help"_string)))->path()); TRY(help_menu->try_add_action(GUI::CommonActions::make_command_palette_action(&window))); TRY(help_menu->try_add_action(GUI::Action::create("&Contents", { Key_F1 }, TRY(Gfx::Bitmap::load_from_file("/res/icons/16x16/filetype-unknown.png"sv)), [this, help_page_path = move(help_page_path)](auto&) { open_page(help_page_path); |