aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
authorGravatar Fabio Bas2010-09-25 20:49:07 +0000
committerGravatar Fabio Bas2010-09-25 20:49:07 +0000
commitce6eab898a2e75e30281872338a8752208e27733 (patch)
tree982918c1dc3ae40363e80645626eab6181d6e27c /src/modules
parentfixed "change nickname" dialog, thanks Arfrever (diff)
downloadKVIrc-ce6eab898a2e75e30281872338a8752208e27733.tar.gz
KVIrc-ce6eab898a2e75e30281872338a8752208e27733.tar.bz2
KVIrc-ce6eab898a2e75e30281872338a8752208e27733.zip
fixed loading help index
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5030 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/help/helpwindow.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/help/helpwindow.cpp b/src/modules/help/helpwindow.cpp
index 982cc35ab..621ba4513 100644
--- a/src/modules/help/helpwindow.cpp
+++ b/src/modules/help/helpwindow.cpp
@@ -127,6 +127,11 @@ void KviHelpWindow::initialSetup()
if ( QFileInfo( szDoclist ).exists() && QFileInfo( szDict ).exists() ) {
g_pDocIndex->readDict();
+ m_pIndexListWidget->clear();
+ QStringList docList=g_pDocIndex->titlesList();
+ m_pIndexListWidget->addItems(docList);
+ m_pIndexListWidget->sortItems();
+ m_pBtnRefreshIndex->setEnabled(true);
} else {
g_pDocIndex->makeIndex();
}