summaryrefslogtreecommitdiff
path: root/Userland/Applications/Browser
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-02-16 19:08:09 +0100
committerAndreas Kling <kling@serenityos.org>2021-02-16 19:08:09 +0100
commit4a5ebb89eaf3ab82fc94e042e9d6a06d185003da (patch)
treecd63ce880f067a49b1bc81812d2bb9d95ffdb29b /Userland/Applications/Browser
parent2a519722a985aaf217ecbd1318a4b0641e5d25de (diff)
downloadserenity-4a5ebb89eaf3ab82fc94e042e9d6a06d185003da.zip
Browser: Don't focus the "bookmark" button when clicked
Diffstat (limited to 'Userland/Applications/Browser')
-rw-r--r--Userland/Applications/Browser/Tab.cpp1
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);