mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 23:38:12 +00:00
BrowserSettings: Make content filtering on by default
It was default in Browser but not default in settings, so the checkbox was initially not checked.
This commit is contained in:
parent
503e4b805f
commit
e1722d39df
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ ContentFilterSettingsWidget::ContentFilterSettingsWidget()
|
|||
m_domain_list_view = find_descendant_of_type_named<GUI::ListView>("domain_list_view");
|
||||
m_add_new_domain_button = find_descendant_of_type_named<GUI::Button>("add_new_domain_button");
|
||||
|
||||
m_enable_content_filtering_checkbox->set_checked(Config::read_bool("Browser", "Preferences", "EnableContentFilters"), GUI::AllowCallback::No);
|
||||
m_enable_content_filtering_checkbox->set_checked(Config::read_bool("Browser", "Preferences", "EnableContentFilters", s_default_enable_content_filtering), GUI::AllowCallback::No);
|
||||
m_enable_content_filtering_checkbox->on_checked = [&](auto) { set_modified(true); };
|
||||
|
||||
m_add_new_domain_button->on_click = [&](unsigned) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue