summaryrefslogtreecommitdiffstats
path: root/kate/app/katemainwindow.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-07 23:19:54 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-07 23:19:54 -0600
commitd5f119e4308938947666c1e921862b83a5476020 (patch)
tree98da156823fa5f9391c94aa34aad39600954f644 /kate/app/katemainwindow.cpp
parentf2ef0ca599f2e400b75c1f15bd379647a436bc54 (diff)
downloadtdebase-d5f119e4308938947666c1e921862b83a5476020.tar.gz
tdebase-d5f119e4308938947666c1e921862b83a5476020.zip
Restore Kate MRU list number-of-items configuration option
This closes Bug 244
Diffstat (limited to 'kate/app/katemainwindow.cpp')
-rw-r--r--kate/app/katemainwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/kate/app/katemainwindow.cpp b/kate/app/katemainwindow.cpp
index a0cce60d6..4b1b47a5a 100644
--- a/kate/app/katemainwindow.cpp
+++ b/kate/app/katemainwindow.cpp
@@ -412,6 +412,7 @@ void KateMainWindow::readOptions ()
m_viewManager->setShowFullPath(config->readBoolEntry("Show Full Path in Title", false));
+ fileOpenRecent->setMaxItems( config->readNumEntry("Number of recent files", fileOpenRecent->maxItems() ) );
fileOpenRecent->loadEntries(config, "Recent Files");
fileselector->readConfig(config, "fileselector");