Helpviewer/HelpBrowserWV.py

branch
5_2_x
changeset 1948
8789c9075050
parent 1946
e0ab34b1f195
child 2092
987aa24ec704
--- a/Helpviewer/HelpBrowserWV.py	Sat Jul 14 14:52:14 2012 +0200
+++ b/Helpviewer/HelpBrowserWV.py	Sun Jul 15 17:28:40 2012 +0200
@@ -257,6 +257,11 @@
                     # this is something of a hack; hopefully it will work in the future
                     return False
                 
+                if info.domain == QWebPage.QtNetwork and \
+                    info.error == QNetworkReply.OperationCanceledError and \
+                    info.errorString == "eric5:No Error":
+                        return False
+                
                 errorPage = sip.cast(output, QWebPage.ErrorPageExtensionReturn)
                 errorPage.baseUrl = info.url
                 urlString = bytes(info.url.toEncoded()).decode()

eric ide

mercurial