Assembly: Insert link, clear selection on deactivation.
This commit is contained in:
committed by
Yorik van Havre
parent
10e75e2752
commit
fa11eb93f4
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user