1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-14 02:52:12 +01:00

NavigationBarConfigDialog: Fix restore to defaults action

This commit is contained in:
David Rosca 2018-01-08 20:17:53 +01:00
parent 21bd073482
commit e21e147bbb

View File

@ -100,7 +100,10 @@ void NavigationBarConfigDialog::resetToDefaults()
settings.remove(QSL("ShowSearchBar")); settings.remove(QSL("ShowSearchBar"));
settings.endGroup(); settings.endGroup();
mApp->reloadSettings(); const auto windows = mApp->windows();
for (BrowserWindow *window : windows) {
window->navigationBar()->loadSettings();
}
} }
void NavigationBarConfigDialog::buttonClicked(QAbstractButton *button) void NavigationBarConfigDialog::buttonClicked(QAbstractButton *button)