Helpviewer/PersonalInformationManager/PersonalInformationManager.py

changeset 6113
0cf5c9683a51
parent 6048
82ad8ec9548c
child 6121
d3d64f3128b3
diff -r cc1fc199643b -r 0cf5c9683a51 Helpviewer/PersonalInformationManager/PersonalInformationManager.py
--- a/Helpviewer/PersonalInformationManager/PersonalInformationManager.py	Sun Feb 04 10:45:53 2018 +0100
+++ b/Helpviewer/PersonalInformationManager/PersonalInformationManager.py	Sun Feb 04 10:56:30 2018 +0100
@@ -224,15 +224,17 @@
         
         @param page reference to the web page (HelpWebPage)
         """
-        page.loadFinished.connect(self.__pageLoadFinished)
+        page.loadFinished.connect(lambda ok: self.__pageLoadFinished(ok, page))
     
-    def __pageLoadFinished(self, ok):
+    def __pageLoadFinished(self, ok, page):
         """
         Private slot to handle the completion of a page load.
         
-        @param ok flag indicating a successful load (boolean)
+        @param ok flag indicating a successful load
+        @type bool
+        @param page reference to the web page object
+        @type HelpWebPage
         """
-        page = self.sender()
         if page is None or not ok:
             return
         

eric ide

mercurial