Corrects stylesheet bug in textEditView

This commit is contained in:
Olivier Keshavjee 2016-03-31 10:19:18 +02:00
parent 3e698c8eea
commit 574660dc19

View file

@ -182,11 +182,12 @@ class textEditView(QTextEdit):
f = QFont()
f.fromString(opt["font"])
# self.setFont(f)
self.setStyleSheet("""
self.setStyleSheet("""QTextEdit{{
background: {bg};
color: {foreground};
font-family: {ff};
font-size: {fs};
}}
""".format(
bg=opt["background"],
foreground=opt["fontColor"],