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:
parent
19494b436b
commit
be80ac619f
4 changed files with 3 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue