diff options
author | Maciej <sppmacd@pm.me> | 2022-01-31 20:43:18 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-02-18 19:00:42 +0100 |
commit | 5d8cda59aece84f85d12ef282c9142c2284a6c4c (patch) | |
tree | c9b732e19508279e3df484c102b8abc40cc5b253 /Userland/Applications/Browser/Tab.cpp | |
parent | 257518424263b12a959f2196f3efef6300aa53cb (diff) | |
download | serenity-5d8cda59aece84f85d12ef282c9142c2284a6c4c.zip |
Browser: Update content filters if the config file changes
Diffstat (limited to 'Userland/Applications/Browser/Tab.cpp')
-rw-r--r-- | Userland/Applications/Browser/Tab.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Userland/Applications/Browser/Tab.cpp b/Userland/Applications/Browser/Tab.cpp index 06ec6ab64f..b31120fec6 100644 --- a/Userland/Applications/Browser/Tab.cpp +++ b/Userland/Applications/Browser/Tab.cpp @@ -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; |