mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibGUI: Fix a typo
This commit is contained in:
parent
bf522d3bb3
commit
4e3b965d7f
Notes:
sideshowbarker
2024-07-17 03:44:05 +09:00
Author: https://github.com/cammo1123
Commit: 4e3b965d7f
Pull-request: https://github.com/SerenityOS/serenity/pull/16321
Reviewed-by: https://github.com/nico ✅
8 changed files with 23 additions and 23 deletions
|
@ -58,7 +58,7 @@ ErrorOr<void> TabWidget::try_add_widget(Widget& widget)
|
|||
update_focus_policy();
|
||||
if (on_tab_count_change)
|
||||
on_tab_count_change(m_tabs.size());
|
||||
layout_relevant_change_occured();
|
||||
layout_relevant_change_occurred();
|
||||
return {};
|
||||
}
|
||||
|
||||
|
@ -85,7 +85,7 @@ void TabWidget::remove_widget(Widget& widget)
|
|||
if (on_tab_count_change)
|
||||
on_tab_count_change(m_tabs.size());
|
||||
|
||||
layout_relevant_change_occured();
|
||||
layout_relevant_change_occurred();
|
||||
}
|
||||
|
||||
void TabWidget::remove_all_tabs_except(Widget& widget)
|
||||
|
@ -103,7 +103,7 @@ void TabWidget::remove_all_tabs_except(Widget& widget)
|
|||
if (on_tab_count_change)
|
||||
on_tab_count_change(1);
|
||||
|
||||
layout_relevant_change_occured();
|
||||
layout_relevant_change_occurred();
|
||||
}
|
||||
|
||||
void TabWidget::update_focus_policy()
|
||||
|
@ -137,7 +137,7 @@ void TabWidget::set_active_widget(Widget* widget)
|
|||
});
|
||||
}
|
||||
|
||||
layout_relevant_change_occured();
|
||||
layout_relevant_change_occurred();
|
||||
|
||||
update_bar();
|
||||
}
|
||||
|
@ -698,7 +698,7 @@ void TabWidget::doubleclick_event(MouseEvent& mouse_event)
|
|||
void TabWidget::set_container_margins(GUI::Margins const& margins)
|
||||
{
|
||||
m_container_margins = margins;
|
||||
layout_relevant_change_occured();
|
||||
layout_relevant_change_occurred();
|
||||
update();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue