Lock default browser color for OSes with a dark scheme
This commit is contained in:
parent
140a386d03
commit
e6d6b2d62b
@ -3,6 +3,7 @@ class browserDoc(QTextBrowser):
|
||||
def __init__(self,*args,**kwargs):
|
||||
super().__init__(*args,**kwargs)
|
||||
self.setOpenLinks(False)
|
||||
self.setStyleSheet("QTextBrowser { background-color: white; color: black }")
|
||||
self.anchorClicked.connect(self.cAnchorClicked)
|
||||
|
||||
def cRenderHtml(self,html):
|
||||
|
Loading…
Reference in New Issue
Block a user