Fri, 19 Jul 2013 19:25:28 +0200
Fixed an issue in the web browser that could potentially lead to a crash.
(grafted from 0dc655f1655dcea36628d68e59a37c51917a6ebb)
Helpviewer/HelpWindow.py | file | annotate | diff | comparison | revisions |
--- a/Helpviewer/HelpWindow.py Wed Jul 17 20:20:32 2013 +0200 +++ b/Helpviewer/HelpWindow.py Fri Jul 19 19:25:28 2013 +0200 @@ -2012,7 +2012,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