mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 18:56:34 +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.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)
|
||||||
|
Loading…
Reference in New Issue
Block a user