Unverified Commit dec4885e authored by darrenl's avatar darrenl Committed by GitHub
Browse files

Merge pull request #236 from jgars/master

Fixed bug in shape.py
parents deb8b844 82ace1ac
......@@ -120,6 +120,8 @@ class Shape(object):
font.setPointSize(8)
font.setBold(True)
painter.setFont(font)
if(self.label == None):
self.label = ""
painter.drawText(min_x, min_y, self.label)
if self.fill:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment