summaryrefslogtreecommitdiff
path: root/src/main/python/shapes
diff options
context:
space:
mode:
authorsumit2020-06-08 18:41:35 +0530
committersumit2020-06-08 18:41:35 +0530
commit7f7aa6afd060714d77ab1c38b8f53d56eaef29ca (patch)
tree62669b6f6a5108651da766041669b341aae13582 /src/main/python/shapes
parent0acf5ce903c3ce76eba9232ce914a3a5d5e5acb0 (diff)
downloadChemical-PFD-7f7aa6afd060714d77ab1c38b8f53d56eaef29ca.tar.gz
Chemical-PFD-7f7aa6afd060714d77ab1c38b8f53d56eaef29ca.tar.bz2
Chemical-PFD-7f7aa6afd060714d77ab1c38b8f53d56eaef29ca.zip
change in update size grip method
Diffstat (limited to 'src/main/python/shapes')
-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()