Skip to content

Commit 2bc4073

Browse files
committed
clean up
1 parent 8a2fbb4 commit 2bc4073

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

NodeGraphQt/qgraphics/pipe.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@ def paint(self, painter, option, widget):
141141
transform.scale(dist, dist)
142142
painter.drawPolygon(transform.map(self._arrow))
143143

144-
painter.restore() # QPaintDevice: Cannot destroy paint device that is being painted
144+
# QPaintDevice: Cannot destroy paint device that is being painted.
145+
painter.restore()
145146

146147
def __draw_path_vertical(self, start_port, pos1, pos2, path):
147148
"""

0 commit comments

Comments
 (0)