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:
parent
2575184242
commit
5d8cda59ae
3 changed files with 23 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue