mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-05-02 20:12:24 +12:00
Update corkDelegate.py
This commit is contained in:
parent
7d31628977
commit
161290686b
|
@ -384,6 +384,11 @@ class corkDelegate(QStyledItemDelegate):
|
|||
|
||||
# Draw Summary
|
||||
# One line
|
||||
#checking that textColor is actually defined before we use it
|
||||
try:
|
||||
textColor
|
||||
except:
|
||||
textColor = None
|
||||
if lineSummary and textColor:
|
||||
p.save()
|
||||
f = QFont(option.font)
|
||||
|
|
Loading…
Reference in a new issue