summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2025-04-18 19:13:12 +0200
committerGitHub <noreply@github.com>2025-04-18 19:13:12 +0200
commit71e565cdfaa47a558476dc1c3b0c5e9ba8e81beb (patch)
tree6b1b400c4b65ab2f46e3a038f7987c889fdae00d
parenta40b810721f7cf04a47e569c1b1a4680a3ef61bc (diff)
Redwork: remove command also from selection list (#3639)
-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