Arch: fixed typo in yesterdays commmit

This commit is contained in:
Yorik van Havre
2016-12-30 12:10:38 -02:00
parent 9f5c6895be
commit 7c7aea1308
4 changed files with 4 additions and 4 deletions

View File

@@ -261,7 +261,7 @@ class _Equipment(ArchComponent.Component):
def onChanged(self,obj,prop):
self.hideSubobjects(obj,prop)
ArchComponent.Component.onChanged(self,obj.prop)
ArchComponent.Component.onChanged(self,obj,prop)
def execute(self,obj):

View File

@@ -290,7 +290,7 @@ class _Space(ArchComponent.Component):
obj.EquipmentPower = p
if hasattr(obj,"Area"):
obj.setEditorMode('Area',1)
ArchComponent.Component.onChanged(self,obj.prop)
ArchComponent.Component.onChanged(self,obj,prop)
def addSubobjects(self,obj,subobjects):
"adds subobjects to this space"

View File

@@ -577,7 +577,7 @@ class _Structure(ArchComponent.Component):
if nodes:
self.nodes = [v.Point.add(offset) for v in nodes.Vertexes]
obj.Nodes = self.nodes
ArchComponent.Component.onChanged(self,obj.prop)
ArchComponent.Component.onChanged(self,obj,prop)
def getNodeEdges(self,obj):
"returns a list of edges from stuctural nodes"

View File

@@ -688,7 +688,7 @@ class _Window(ArchComponent.Component):
# because of load order, but it doesn't harm...
pass
FreeCAD.ActiveDocument.recompute()
ArchComponent.Component.onChanged(self,obj.prop)
ArchComponent.Component.onChanged(self,obj,prop)
def execute(self,obj):