eric7/HelpViewer/HelpViewerImplQWE.py

branch
eric7
changeset 9172
4bac907a4c74
parent 8900
9c153ce17d74
equal deleted inserted replaced
9169:2d27173dff5f 9172:4bac907a4c74
99 Public method to set the URL of the document to be shown. 99 Public method to set the URL of the document to be shown.
100 100
101 @param url URL of the document 101 @param url URL of the document
102 @type QUrl 102 @type QUrl
103 """ 103 """
104 super().setUrl(url) 104 if url.toString() == "about:blank":
105 self.setHtml(self.__helpViewerWidget.emptyDocument())
106 else:
107 super().setUrl(url)
105 108
106 def link(self): 109 def link(self):
107 """ 110 """
108 Public method to get the URL of the shown document. 111 Public method to get the URL of the shown document.
109 112

eric ide

mercurial