--- a/Graphics/AssociationItem.py Sun Jan 31 16:15:16 2010 +0000 +++ b/Graphics/AssociationItem.py Sun Jan 31 17:11:22 2010 +0000 @@ -163,7 +163,6 @@ # find itemA region rc = QRectF(xA, yA, rectA.width(), rectA.height()) - oldRegionA = self.regionA self.regionA = self.__findPointRegion(rc, xB, yB) # move some regions to the standard ones if self.regionA == NorthWest: @@ -181,7 +180,6 @@ # now do the same for itemB rc = QRectF(xB, yB, rectB.width(), rectB.height()) - oldRegionB = self.regionB self.regionB = self.__findPointRegion(rc, xA, yA) # move some regions to the standard ones if self.regionB == NorthWest: @@ -470,4 +468,4 @@ Public method to unassociate from the widgets. """ self.itemA.removeAssociation(self) - self.itemB.removeAssociation(self) \ No newline at end of file + self.itemB.removeAssociation(self)