summaryrefslogtreecommitdiff
path: root/Userland/Applications/ThemeEditor/MainWidget.cpp
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/ThemeEditor/MainWidget.cpp
parenteb8c2bde90729b98a0f2cb8cc322baf44f6e6085 (diff)
downloadserenity-34acae90c77036897a3e2726ed145e6b7524bb49.zip
Userland: Let applications make use of make_command_palette_action()
Diffstat (limited to 'Userland/Applications/ThemeEditor/MainWidget.cpp')
-rw-r--r--Userland/Applications/ThemeEditor/MainWidget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Applications/ThemeEditor/MainWidget.cpp b/Userland/Applications/ThemeEditor/MainWidget.cpp
index 69a7b8cae3..40775aa7be 100644
--- a/Userland/Applications/ThemeEditor/MainWidget.cpp
+++ b/Userland/Applications/ThemeEditor/MainWidget.cpp
@@ -304,6 +304,7 @@ ErrorOr<void> MainWidget::initialize_menubar(GUI::Window& window)
TRY(accessibility_menu->try_add_action(achromatomaly_accessibility_action));
auto help_menu = TRY(window.try_add_menu("&Help"));
+ TRY(help_menu->try_add_action(GUI::CommonActions::make_command_palette_action(&window)));
TRY(help_menu->try_add_action(GUI::CommonActions::make_about_action("Theme Editor", GUI::Icon::default_icon("app-theme-editor"sv), &window)));
return {};