1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 09:24:57 +00:00

Browser: Add a custom icon for the "New Window" action

This commit is contained in:
Gunnar Beutner 2022-10-06 20:37:23 +02:00 committed by Andreas Kling
parent 19494b436b
commit be80ac619f
4 changed files with 3 additions and 1 deletions

View file

@ -34,7 +34,7 @@ WindowActions::WindowActions(GUI::Window& window)
m_create_new_tab_action->set_status_tip("Open a new tab");
m_create_new_window_action = GUI::Action::create(
"&New Window", { Mod_Ctrl, Key_N }, g_icon_bag.go_to, [this](auto&) {
"&New Window", { Mod_Ctrl, Key_N }, g_icon_bag.new_window, [this](auto&) {
if (on_create_new_window) {
on_create_new_window();
}