Helpviewer/HelpBrowserWV.py

changeset 1950
4f004ec74b48
parent 1947
84626f18f2c3
child 1952
af4103f0e93f
--- a/Helpviewer/HelpBrowserWV.py	Sat Jul 14 17:56:26 2012 +0200
+++ b/Helpviewer/HelpBrowserWV.py	Sun Jul 15 17:53:39 2012 +0200
@@ -308,6 +308,11 @@
                     errorPage.content = html
                     return True
             
+            if info.domain == QWebPage.QtNetwork and \
+               info.error == QNetworkReply.OperationCanceledError and \
+               info.errorString == "eric5:No Error":
+                return False
+            
             title = self.trUtf8("Error loading page: {0}").format(urlString)
             htmlFile = QFile(":/html/notFoundPage.html")
             htmlFile.open(QFile.ReadOnly)

eric ide

mercurial