Assembly: Insert link, clear selection on deactivation.

This commit is contained in:
PaddleStroke
2024-03-05 14:26:06 +01:00
committed by Yorik van Havre
parent 10e75e2752
commit fa11eb93f4

View File

@@ -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()