mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:07:35 +00:00
LibGUI: Don't focus BreadcrumbBar segments on click
This commit is contained in:
parent
b10255f93f
commit
396b09a1ec
1 changed files with 1 additions and 0 deletions
|
@ -70,6 +70,7 @@ void BreadcrumbBar::append_segment(const String& text, const Gfx::Bitmap* icon,
|
|||
button.set_button_style(Gfx::ButtonStyle::CoolBar);
|
||||
button.set_text(text);
|
||||
button.set_icon(icon);
|
||||
button.set_focus_policy(FocusPolicy::TabFocus);
|
||||
button.set_checkable(true);
|
||||
button.set_exclusive(true);
|
||||
button.on_click = [this, index = m_segments.size()](auto) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue