mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-11 01:06:01 +03:00
Browser: Don't focus the "bookmark" button when clicked
This commit is contained in:
parent
2a519722a9
commit
4a5ebb89ea
Notes:
sideshowbarker
2024-07-18 22:12:40 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/4a5ebb89eaf
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user