Fri, 19 Jul 2013 19:25:28 +0200
Fixed an issue in the web browser that could potentially lead to a crash.
Helpviewer/HelpWindow.py | file | annotate | diff | comparison | revisions |
--- a/Helpviewer/HelpWindow.py Fri Jul 19 19:24:33 2013 +0200 +++ b/Helpviewer/HelpWindow.py Fri Jul 19 19:25:28 2013 +0200 @@ -2078,7 +2078,8 @@ Preferences.setGeometry("HelpViewerGeometry", QByteArray()) try: - del self.__class__.helpwindows[self.__class__.helpwindows.index(self)] + if self.fromEric or len(self.__class__.helpwindows) > 1: + del self.__class__.helpwindows[self.__class__.helpwindows.index(self)] except ValueError: pass