Lock default browser color for OSes with a dark scheme

This commit is contained in:
Fierelier 2021-03-18 17:54:30 +01:00
parent 140a386d03
commit e6d6b2d62b

View File

@ -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):