개정판 c1cbaa3a
issue #000: minor fix
Change-Id: I8b345342c1a2867587b7f6819baef7ac0c6fa4e4
DTI_PID/DTI_PID/MainWindow.py | ||
---|---|---|
1618 | 1618 |
match.owner = None |
1619 | 1619 |
|
1620 | 1620 |
matches = [_item for _item in self.graphicsView.scene.items() if hasattr(_item, 'attrs')] |
1621 |
done = False |
|
1621 |
#done = False
|
|
1622 | 1622 |
for match in matches: |
1623 | 1623 |
for assoc in match.associations(): |
1624 | 1624 |
if item is assoc: |
... | ... | |
1626 | 1626 |
if str(item.uid) == str(attr.AssocItem.uid): |
1627 | 1627 |
attr.AssocItem = None |
1628 | 1628 |
match.attrs[attr] = '' |
1629 |
done = True |
|
1630 |
break |
|
1629 |
#done = True |
|
1631 | 1630 |
match.remove_assoc_item(item) |
1632 | 1631 |
break |
1633 |
if done: break |
|
1632 |
#if done: break
|
|
1634 | 1633 |
|
1635 | 1634 |
#if type(item) is QEngineeringFlowMarkItem and item.parentItem(): |
1636 | 1635 |
# if item in item.parentItem()._flowMark: |
내보내기 Unified diff