diff -r ae325578a418 -r 0c863d282509 Helpviewer/HelpWindow.py --- a/Helpviewer/HelpWindow.py Sun Jul 28 13:43:11 2013 +0200 +++ b/Helpviewer/HelpWindow.py Sun Jul 28 14:20:37 2013 +0200 @@ -154,6 +154,7 @@ self.__helpEngine = \ QHelpEngine(os.path.join(Utilities.getConfigDir(), "browser", "eric5help.qhc"), self) + self.__removeOldDocumentation() self.__helpEngine.warning.connect(self.__warning) self.__helpInstaller = None @@ -2511,6 +2512,15 @@ self.__searchWord = word self.__searchForWord() + def __removeOldDocumentation(self): + """ + Private slot to remove non-existing documentation from the help engine. + """ + for namespace in self.__helpEngine.registeredDocumentations(): + docFile = self.__helpEngine.documentationFileName(namespace) + if not os.path.exists(docFile): + self.__helpEngine.unregisterDocumentation(namespace) + def __lookForNewDocumentation(self): """ Private slot to look for new documentation to be loaded into the