1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:07:35 +00:00

LibGUI: Fix a typo

This commit is contained in:
Cameron Youell 2022-12-06 00:00:35 +11:00 committed by Linus Groh
parent bf522d3bb3
commit 4e3b965d7f
8 changed files with 23 additions and 23 deletions

View file

@ -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();
}