commit
dec4885e29
@ -120,6 +120,8 @@ class Shape(object):
|
|||||||
font.setPointSize(8)
|
font.setPointSize(8)
|
||||||
font.setBold(True)
|
font.setBold(True)
|
||||||
painter.setFont(font)
|
painter.setFont(font)
|
||||||
|
if(self.label == None):
|
||||||
|
self.label = ""
|
||||||
painter.drawText(min_x, min_y, self.label)
|
painter.drawText(min_x, min_y, self.label)
|
||||||
|
|
||||||
if self.fill:
|
if self.fill:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user