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
commit be80ac619f
Notes: sideshowbarker 2024-07-17 06:14:34 +09:00
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();
}