Skip to content

Commit 1dbd071

Browse files
authored
Fix issue #343
Wrap QtCore.Qt.NoBrush in QtGui.QBrush(...) to fix #343
1 parent 7bab1f8 commit 1dbd071

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NodeGraphQt/qgraphics/pipe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ def set_pipe_styling(self, color, width=0.5, style=0):
430430
pen.setJoinStyle(QtCore.Qt.MiterJoin)
431431
pen.setCapStyle(QtCore.Qt.RoundCap)
432432
self.setPen(pen)
433-
self.setBrush(QtCore.Qt.NoBrush)
433+
self.setBrush(QtGui.QBrush(QtCore.Qt.NoBrush))
434434

435435
pen = self._dir_pointer.pen()
436436
pen.setJoinStyle(QtCore.Qt.MiterJoin)

0 commit comments

Comments
 (0)