From c989550c098dbfee41ae613c4c168df5e8dae330 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Fri, 7 May 2021 20:36:28 +0100 Subject: Help: Add "Help" menu and move the about action there --- Userland/Applications/Help/main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Userland/Applications/Help/main.cpp') diff --git a/Userland/Applications/Help/main.cpp b/Userland/Applications/Help/main.cpp index 6c96de4059..9c046061fd 100644 --- a/Userland/Applications/Help/main.cpp +++ b/Userland/Applications/Help/main.cpp @@ -257,8 +257,6 @@ int main(int argc, char* argv[]) auto menubar = GUI::Menubar::construct(); auto& file_menu = menubar->add_menu("&File"); - file_menu.add_action(GUI::CommonActions::make_about_action("Help", app_icon, window)); - file_menu.add_separator(); file_menu.add_action(GUI::CommonActions::make_quit_action([](auto&) { GUI::Application::the()->quit(); })); @@ -268,6 +266,9 @@ int main(int argc, char* argv[]) go_menu.add_action(*go_forward_action); go_menu.add_action(*go_home_action); + auto& help_menu = menubar->add_menu("&Help"); + help_menu.add_action(GUI::CommonActions::make_about_action("Help", app_icon, window)); + window->set_menubar(move(menubar)); if (start_page) { -- cgit v1.2.3