mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
NavigationBarConfigDialog: Fix restore to defaults action
This commit is contained in:
parent
21bd073482
commit
e21e147bbb
|
@ -100,7 +100,10 @@ void NavigationBarConfigDialog::resetToDefaults()
|
|||
settings.remove(QSL("ShowSearchBar"));
|
||||
settings.endGroup();
|
||||
|
||||
mApp->reloadSettings();
|
||||
const auto windows = mApp->windows();
|
||||
for (BrowserWindow *window : windows) {
|
||||
window->navigationBar()->loadSettings();
|
||||
}
|
||||
}
|
||||
|
||||
void NavigationBarConfigDialog::buttonClicked(QAbstractButton *button)
|
||||
|
|
Loading…
Reference in New Issue
Block a user