Fem: fix in ShellThickness selectionobserver

This commit is contained in:
Bernd Hahnebach
2015-10-05 12:21:02 +02:00
committed by wmayer
parent fa2cf93da0
commit 7602c46882

View File

@@ -217,7 +217,7 @@ class ReferenceShapeSelectionObserver:
def addSelection(self, docName, objName, sub, pos):
selected_object = FreeCAD.getDocument(docName).getObject(objName) # get the obj objName
self.added_obj = (selected_object, sub)
if lsub: # on doubleClick the solid is selected and sub will be empty
if sub: # on doubleClick the solid is selected and sub will be empty
self.parseSelectionFunction(self.added_obj)