mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
LibWebView: Fire all observers when settings are restored to default
Otherwise the change is not propagated to the WebContent process for some of these.
This commit is contained in:
parent
aad95d8d9d
commit
26ec01068f
|
|
@ -173,8 +173,13 @@ void Settings::restore_defaults()
|
|||
|
||||
persist_settings();
|
||||
|
||||
for (auto& observer : m_observers)
|
||||
for (auto& observer : m_observers) {
|
||||
observer.new_tab_page_url_changed();
|
||||
observer.search_engine_changed();
|
||||
observer.autocomplete_engine_changed();
|
||||
observer.autoplay_settings_changed();
|
||||
observer.do_not_track_changed();
|
||||
}
|
||||
}
|
||||
|
||||
void Settings::set_new_tab_page_url(URL::URL new_tab_page_url)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user