summaryrefslogtreecommitdiff
path: root/Userland/Applications/HexEditor
diff options
context:
space:
mode:
authordemostanis <demostanis@protonmail.com>2022-10-14 22:27:30 +0200
committerLinus Groh <mail@linusgroh.de>2022-10-25 10:21:18 +0100
commit34acae90c77036897a3e2726ed145e6b7524bb49 (patch)
treec43ce5cf222812a02cbbf10dec6d1bab8b03a091 /Userland/Applications/HexEditor
parenteb8c2bde90729b98a0f2cb8cc322baf44f6e6085 (diff)
downloadserenity-34acae90c77036897a3e2726ed145e6b7524bb49.zip
Userland: Let applications make use of make_command_palette_action()
Diffstat (limited to 'Userland/Applications/HexEditor')
-rw-r--r--Userland/Applications/HexEditor/HexEditorWidget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Applications/HexEditor/HexEditorWidget.cpp b/Userland/Applications/HexEditor/HexEditorWidget.cpp
index 365aa68ee9..8ddcd7ec69 100644
--- a/Userland/Applications/HexEditor/HexEditorWidget.cpp
+++ b/Userland/Applications/HexEditor/HexEditorWidget.cpp
@@ -469,6 +469,7 @@ void HexEditorWidget::initialize_menubar(GUI::Window& window)
little_endian_mode->set_checked(true);
auto& help_menu = window.add_menu("&Help");
+ help_menu.add_action(GUI::CommonActions::make_command_palette_action(&window));
help_menu.add_action(GUI::CommonActions::make_help_action([](auto&) {
Desktop::Launcher::open(URL::create_with_file_scheme("/usr/share/man/man1/HexEditor.md"), "/bin/Help");
}));