Fem: fix in ShellThickness selectionobserver

This commit is contained in:
Bernd Hahnebach 2015-10-05 12:21:02 +02:00 committed by wmayer
parent 30b5311aa4
commit 2b89aab8f3

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)