From 71e565cdfaa47a558476dc1c3b0c5e9ba8e81beb Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Fri, 18 Apr 2025 19:13:12 +0200 Subject: Redwork: remove command also from selection list (#3639) --- lib/extensions/redwork.py | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3