From bdfc4d8d6ae814bf87de628484dafffbd7b14bb4 Mon Sep 17 00:00:00 2001 From: megabigbug Date: Fri, 23 Apr 2010 08:32:24 +0200 Subject: update SearchEngine data when settings are changed --- src/settings/settingsdialog.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/settings/settingsdialog.cpp b/src/settings/settingsdialog.cpp index 35f753d3..b5add779 100644 --- a/src/settings/settingsdialog.cpp +++ b/src/settings/settingsdialog.cpp @@ -38,6 +38,7 @@ #include "webtab.h" #include "adblockwidget.h" #include "networkwidget.h" +#include "searchengine.h" //Ui Includes #include "ui_settings_general.h" @@ -207,7 +208,11 @@ void SettingsDialog::saveSettings() d->shortcutsEditor->save(); d->adBlockWidg->save(); d->networkWidg->save(); - + SearchEngine::loadDefaultWS(); + SearchEngine::loadDelimiter(); + SearchEngine::loadFavorites(); + + updateButtons(); emit settingsChanged("ReKonfig"); } -- cgit v1.2.1