Browser: Don't focus the "bookmark" button when clicked

This commit is contained in:
Andreas Kling 2021-02-16 19:08:09 +01:00
parent 2a519722a9
commit 4a5ebb89ea
Notes: sideshowbarker 2024-07-18 22:12:40 +09:00

View File

@ -127,6 +127,7 @@ Tab::Tab(Type type)
m_bookmark_button = toolbar.add<GUI::Button>();
m_bookmark_button->set_button_style(Gfx::ButtonStyle::CoolBar);
m_bookmark_button->set_focus_policy(GUI::FocusPolicy::TabFocus);
m_bookmark_button->set_icon(Gfx::Bitmap::load_from_file("/res/icons/16x16/bookmark-contour.png"));
m_bookmark_button->set_fixed_size(22, 22);