개정판 78c75ee8
issue #000: fix item delete
Change-Id: Ib75ae59f964c3750eb64cb06f9867f9eda5d4b96
DTI_PID/DTI_PID/MainWindow.py | ||
---|---|---|
1675 | 1675 |
for assoc in match.associations(): |
1676 | 1676 |
if item is assoc: |
1677 | 1677 |
for attr in match.attrs.keys(): |
1678 |
if str(item.uid) == str(attr.AssocItem.uid): |
|
1678 |
if attr.AssocItem and str(item.uid) == str(attr.AssocItem.uid):
|
|
1679 | 1679 |
attr.AssocItem = None |
1680 | 1680 |
match.attrs[attr] = '' |
1681 | 1681 |
#done = True |
내보내기 Unified diff