summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings.cpp')
-rw-r--r--src/settings.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index ae8ccc4d..1950c40a 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -201,8 +201,11 @@ void SettingsDialog::readConfig()
ReKonfig::setPreviewNames(names);
ReKonfig::setPreviewUrls(urls);
- d->newtabpageUi.showLastVisitedSites->setChecked( ReKonfig::showLastVisitedSites() );
-
+ if( ReKonfig::showLastVisitedSites() )
+ d->newtabpageUi.showLastVisitedSites->setChecked( true );
+ else
+ d->newtabpageUi.showRecentlyClosedTabs->setChecked( true );
+
// ======= Fonts
d->fontsUi.kcfg_fixedFont->setOnlyFixed(true);