개정판 aecba2eb
issue #563: fix line no from to info
Change-Id: I60ae9121f28ccb1d2daa13b2998a1689acacc2e9
DTI_PID/DTI_PID/Shapes/EngineeringAbstractItem.py | ||
---|---|---|
231 | 231 |
from SymbolSvgItem import SymbolSvgItem |
232 | 232 |
from EngineeringVendorItem import QEngineeringVendorItem |
233 | 233 |
from EngineeringLineItem import QEngineeringLineItem |
234 |
from EngineeringLineNoTextItem import QEngineeringLineNoTextItem |
|
234 | 235 | |
235 | 236 |
res = [] |
236 | 237 |
for symbol in [x for x in self.associations() if |
... | ... | |
242 | 243 |
consumed = True |
243 | 244 |
if not consumed: |
244 | 245 |
res.append(symbol) |
245 |
else:
|
|
246 |
elif type(self) is not QEngineeringLineNoTextItem:
|
|
246 | 247 |
res.append(symbol) |
247 | 248 | |
248 | 249 |
return res |
내보내기 Unified diff