Helpviewer/HelpWindow.py

changeset 1645
73904ca06d2d
parent 1626
a77c8ea8582c
child 1651
bc68f24d5658
--- a/Helpviewer/HelpWindow.py	Sun Feb 19 15:30:22 2012 +0100
+++ b/Helpviewer/HelpWindow.py	Sun Feb 19 17:27:34 2012 +0100
@@ -1630,14 +1630,15 @@
             idx += 1
             act.setIcon(HelpWindow.__getWebIcon(QUrl(hist)))
         
-    def __titleChanged(self, title):
+    def __titleChanged(self, browser, title):
         """
-        Private slot called to handle a change of the current browsers title.
+        Private slot called to handle a change of s browser's title.
         
+        @param browser reference to the browser (HelpBrowser)
         @param title new title (string)
         """
         self.historyManager().updateHistoryEntry(
-            self.currentBrowser().url().toString(), title)
+            browser.url().toString(), title)
     
     def newTab(self, link=None, requestData=None):
         """

eric ide

mercurial