diff --git a/manuskript/ui/views/corkDelegate.py b/manuskript/ui/views/corkDelegate.py index e6c7aa5d..387bfcbc 100644 --- a/manuskript/ui/views/corkDelegate.py +++ b/manuskript/ui/views/corkDelegate.py @@ -320,6 +320,7 @@ def drawRect(r): # Draw title p.save() text = index.data() + textColor = None if text: p.setPen(Qt.black) @@ -384,11 +385,6 @@ def drawRect(r): # 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)