1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:48:10 +00:00

Browser: Update content filters if the config file changes

This commit is contained in:
Maciej 2022-01-31 20:43:18 +01:00 committed by Andreas Kling
parent 2575184242
commit 5d8cda59ae
3 changed files with 23 additions and 0 deletions

View file

@ -442,6 +442,11 @@ void Tab::context_menu_requested(const Gfx::IntPoint& screen_position)
m_tab_context_menu->popup(screen_position);
}
void Tab::content_filters_changed()
{
m_web_content_view->set_content_filters(g_content_filters);
}
GUI::AbstractScrollableWidget& Tab::view()
{
return *m_web_content_view;