Update corkDelegate.py

This commit is contained in:
Shadow 2023-09-18 14:28:30 -07:00
parent 7d31628977
commit 161290686b

View file

@ -384,6 +384,11 @@ class corkDelegate(QStyledItemDelegate):
# Draw Summary # Draw Summary
# One line # One line
#checking that textColor is actually defined before we use it
try:
textColor
except:
textColor = None
if lineSummary and textColor: if lineSummary and textColor:
p.save() p.save()
f = QFont(option.font) f = QFont(option.font)