assembly: fix AsmElementLink onChanged()

This commit is contained in:
Zheng, Lei 2018-10-10 19:22:47 +08:00
parent 2b206d3b0e
commit 2bb2afd651

View File

@ -1123,7 +1123,7 @@ class AsmElementLink(AsmBase):
self.getInfo(True)
return
if prop == 'Label':
link = obj.LinkedObject
link = getattr(obj,'LinkedObject',None)
if isinstance(link,tuple):
linked = link[0].getSubObject(link[1],1)
if linked and linked.Label != obj.Label: