mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 07:37:44 +00:00
LibGUI: Add 'on_doubleclick' event to BreadcrumbBar.
This commit is contained in:
parent
254312aa22
commit
4b3c61fad8
2 changed files with 9 additions and 0 deletions
|
@ -139,4 +139,10 @@ void BreadcrumbBar::set_selected_segment(Optional<size_t> index)
|
|||
segment.button->set_checked(true);
|
||||
}
|
||||
|
||||
void BreadcrumbBar::doubleclick_event(MouseEvent& event)
|
||||
{
|
||||
if (on_doubleclick)
|
||||
on_doubleclick(event);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue