pyside bugfix

This commit is contained in:
Luke Campagnola 2015-07-12 14:24:12 -05:00
parent a7bea50774
commit f6de3c67de

View File

@ -812,7 +812,7 @@ class Tick(QtGui.QGraphicsWidget): ## NOTE: Making this a subclass of GraphicsO
self.pg.lineTo(QtCore.QPointF(scale/3**0.5, scale)) self.pg.lineTo(QtCore.QPointF(scale/3**0.5, scale))
self.pg.closeSubpath() self.pg.closeSubpath()
QtGui.QGraphicsObject.__init__(self) QtGui.QGraphicsWidget.__init__(self)
self.setPos(pos[0], pos[1]) self.setPos(pos[0], pos[1])
if self.movable: if self.movable:
self.setZValue(1) self.setZValue(1)