eric7/HelpViewer/HelpViewerImplQTB.py

branch
eric7
changeset 9172
4bac907a4c74
parent 8900
9c153ce17d74
equal deleted inserted replaced
9169:2d27173dff5f 9172:4bac907a4c74
71 Public method to set the URL of the document to be shown. 71 Public method to set the URL of the document to be shown.
72 72
73 @param url source of the document 73 @param url source of the document
74 @type QUrl 74 @type QUrl
75 """ 75 """
76 self.setSource(url) 76 if url.toString() == "about:blank":
77 self.setHtml(self.__helpViewerWidget.emptyDocument())
78 else:
79 self.setSource(url)
77 80
78 def link(self): 81 def link(self):
79 """ 82 """
80 Public method to get the URL of the shown document. 83 Public method to get the URL of the shown document.
81 84

eric ide

mercurial