From 83b82b2dcc0c4923ddf5f5b1965f6cc6c233e71b Mon Sep 17 00:00:00 2001 From: PaddleStroke Date: Thu, 24 Jul 2025 07:50:15 +0200 Subject: [PATCH] Assembly: Insert tool : fix error when removing object --- src/Mod/Assembly/CommandInsertLink.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Assembly/CommandInsertLink.py b/src/Mod/Assembly/CommandInsertLink.py index 7617109e6b..e42873249a 100644 --- a/src/Mod/Assembly/CommandInsertLink.py +++ b/src/Mod/Assembly/CommandInsertLink.py @@ -548,7 +548,7 @@ class TaskAssemblyInsertLink(QtCore.QObject): self.decrement_counter(item) del self.insertionStack[i] - self.form.partList.setItemSelected(item, False) + item.setSelected(False) return True else: