summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/extensions/redwork.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/extensions/redwork.py b/lib/extensions/redwork.py
index 48a9da31..ee0ad141 100644
--- a/lib/extensions/redwork.py
+++ b/lib/extensions/redwork.py
@@ -97,6 +97,8 @@ class Redwork(InkstitchExtension):
if command:
# remove command symbol
command_group = command.connector.getparent()
+ if command_group in self.svg.selection:
+ self.svg.selection.pop(command_group.get_id())
command_group.delete()
# return the first occurence directly
return command.target_point