summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/python/shapes/shapes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/python/shapes/shapes.py b/src/main/python/shapes/shapes.py
index bd8273b..3e5cbb2 100644
--- a/src/main/python/shapes/shapes.py
+++ b/src/main/python/shapes/shapes.py
@@ -419,7 +419,7 @@ class NodeItem(QGraphicsSvgItem):
updates size grip items
"""
index_no_updates = index_no_updates or []
- for i, item in zip(range(len(self.sizeGripItems)), self.sizeGripItems):
+ for i, item in enumerate(self.sizeGripItems):
if i not in index_no_updates:
item.updatePosition()