Fixed an issue with the web browser. 5_0_x

Thu, 12 Aug 2010 10:07:38 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 12 Aug 2010 10:07:38 +0200
branch
5_0_x
changeset 497
a529427b15ed
parent 494
24553e4f9886
child 503
3f841c622b96
child 514
a3e454b3293d

Fixed an issue with the web browser.

Helpviewer/HelpWindow.py file | annotate | diff | comparison | revisions
--- 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