From 8f1e3e1decf5b8986b19e2019aa4ec986721966f Mon Sep 17 00:00:00 2001 From: PaddleStroke Date: Tue, 5 Mar 2024 14:26:06 +0100 Subject: [PATCH] Assembly: Insert link, clear selection on deactivation. --- src/Mod/Assembly/CommandInsertLink.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Mod/Assembly/CommandInsertLink.py b/src/Mod/Assembly/CommandInsertLink.py index 71e7ce74f0..4f21f6e834 100644 --- a/src/Mod/Assembly/CommandInsertLink.py +++ b/src/Mod/Assembly/CommandInsertLink.py @@ -139,6 +139,7 @@ class TaskAssemblyInsertLink(QtCore.QObject): def deactivated(self): pref = Preferences.preferences() pref.SetBool("InsertShowOnlyParts", self.form.CheckBox_ShowOnlyParts.isChecked()) + Gui.Selection.clearSelection() def buildPartList(self): self.allParts.clear()