Fixed bug in shape.py
This commit is contained in:
parent
deb8b844f9
commit
82ace1acfc
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user