diff --git a/manuskript/ui/views/corkDelegate.py b/manuskript/ui/views/corkDelegate.py index 99850e7..e6c7aa5 100644 --- a/manuskript/ui/views/corkDelegate.py +++ b/manuskript/ui/views/corkDelegate.py @@ -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)