From ce6eab898a2e75e30281872338a8752208e27733 Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Sat, 25 Sep 2010 20:49:07 +0000 Subject: fixed loading help index git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5030 17fca916-40b9-46aa-a4ea-0a15b648b75c --- src/modules/help/helpwindow.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/modules/help/helpwindow.cpp') 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(); } -- cgit v1.3.1-10-gc9f91