개정판 f688d463
issue #563: line no from to add only from condition
Change-Id: Ibd3a8f785817aca8325dc175804af1937717c44a
DTI_PID/DTI_PID/LineNoTracer.py | ||
---|---|---|
70 | 70 |
else: |
71 | 71 |
connected_items = connected_items[end:start + 1] |
72 | 72 |
connected_items.reverse() |
73 |
elif _from and not _to and lineno.empty(): |
|
74 |
connected_items = self.find_connected_objects(_from, primary=True, include_signal=include_signal) |
|
73 | 75 |
elif (not _from or not _to) and (1 == len(lineno.conns)): |
74 | 76 |
connected_items = self.find_connected_objects(lineno.conns[0], include_signal=include_signal) |
75 | 77 | |
... | ... | |
207 | 209 |
_from.owner = line_no |
208 | 210 |
_to.owner = line_no |
209 | 211 |
line_no._fixed = True |
212 |
elif _from and not _to and (type(_from) is QEngineeringLineItem or issubclass(type(_from), SymbolSvgItem)): |
|
213 |
_from.owner = line_no |
|
214 |
line_no._fixed = True |
|
210 | 215 |
else: |
211 | 216 |
line_no.set_property('From', None) |
212 | 217 |
line_no.set_property('To', None) |
내보내기 Unified diff