diff options
author | Andreas Kling <kling@serenityos.org> | 2021-02-16 19:08:09 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-02-16 19:08:09 +0100 |
commit | 4a5ebb89eaf3ab82fc94e042e9d6a06d185003da (patch) | |
tree | cd63ce880f067a49b1bc81812d2bb9d95ffdb29b /Userland/Applications/Browser | |
parent | 2a519722a985aaf217ecbd1318a4b0641e5d25de (diff) | |
download | serenity-4a5ebb89eaf3ab82fc94e042e9d6a06d185003da.zip |
Browser: Don't focus the "bookmark" button when clicked
Diffstat (limited to 'Userland/Applications/Browser')
-rw-r--r-- | Userland/Applications/Browser/Tab.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Applications/Browser/Tab.cpp b/Userland/Applications/Browser/Tab.cpp index 8a307ae684..4b606e18c2 100644 --- a/Userland/Applications/Browser/Tab.cpp +++ b/Userland/Applications/Browser/Tab.cpp @@ -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); |