summaryrefslogtreecommitdiff
path: root/lib/extensions/gradient_blocks.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/extensions/gradient_blocks.py')
-rw-r--r--lib/extensions/gradient_blocks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/extensions/gradient_blocks.py b/lib/extensions/gradient_blocks.py
index 55f014e4..79665a10 100644
--- a/lib/extensions/gradient_blocks.py
+++ b/lib/extensions/gradient_blocks.py
@@ -98,7 +98,7 @@ class GradientBlocks(InkstitchExtension):
block.set('inkstitch:fill_underlay_row_spacing_mm', end_row_spacing)
color_block_group.append(block)
- parent.remove(element.node)
+ element.node.delete()
def _element_to_path(self, shape):
coords = list(shape.exterior.coords)