HelpWindow.py: fixed an issue caused by using a private member instead of a public one.

Fri, 18 May 2018 18:31:14 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 18 May 2018 18:31:14 +0200
changeset 6293
509768769afe
parent 6292
e08a94e1ecdd
child 6294
58f82c179d2b

HelpWindow.py: fixed an issue caused by using a private member instead of a public one.

Helpviewer/HelpWindow.py file | annotate | diff | comparison | revisions
--- a/Helpviewer/HelpWindow.py	Wed May 16 19:35:41 2018 +0200
+++ b/Helpviewer/HelpWindow.py	Fri May 18 18:31:14 2018 +0200
@@ -2289,7 +2289,7 @@
         
         try:
             browserIndex = HelpWindow.helpwindows.index(self)
-            if not self.__fromEric and len(HelpWindow.helpwindows):
+            if not self.fromEric and len(HelpWindow.helpwindows):
                 if browserIndex == 0:
                     if len(HelpWindow.helpwindows) > 1:
                         # first window will be deleted

eric ide

mercurial