개정판 928085b0
issue #000: fix b
Change-Id: Icf20dcd2a3e34953bf79029abbca46c776a582ca
DTI_PID/DTI_PID/Shapes/SymbolSvgItem.py | ||
---|---|---|
1060 | 1060 |
if length < toler and length < dist: |
1061 | 1061 |
selected = item |
1062 | 1062 |
|
1063 |
if selected is not self:
|
|
1063 |
if selected: |
|
1064 | 1064 |
res = self.connect_if_possible(selected, toler) |
1065 |
if res and type(item) is QEngineeringLineItem:
|
|
1066 |
item.set_line([res[1], res[2]])
|
|
1065 |
if res and type(selected) is QEngineeringLineItem:
|
|
1066 |
selected.set_line([res[1], res[2]])
|
|
1067 | 1067 |
|
1068 | 1068 |
''' |
1069 | 1069 |
@brief connect attribute |
내보내기 Unified diff