Helpviewer/HelpWindow.py

branch
5_0_x
changeset 497
a529427b15ed
parent 320
340a978859c6
child 792
a13346916170
--- a/Helpviewer/HelpWindow.py	Wed Aug 11 18:08:21 2010 +0200
+++ b/Helpviewer/HelpWindow.py	Thu Aug 12 10:07:38 2010 +0200
@@ -1476,7 +1476,7 @@
         @param url URL of the new site (QUrl)
         """
         selectedURL = url.toString()
-        if selectedURL and self.pathCombo:
+        if selectedURL != "" and self.pathCombo is not None:
             i = self.pathCombo.findText(selectedURL)
             if i == -1:
                 if not QWebSettings.globalSettings()\

eric ide

mercurial