개정판 89022c15
fix line type error
Change-Id: Ib0fea7f26925f189898d5314eaa42fa868a2587d
DTI_PID/DTI_PID/Shapes/SymbolSvgItem.py | ||
---|---|---|
327 | 327 |
item = self.connectors[index].connectedItem |
328 | 328 |
if item and type(item) is QEngineeringLineItem: |
329 | 329 |
if ((self.conn_type[index] == 'Primary' or self.conn_type[index] == 'Secondary') and not item.is_piping()) or \ |
330 |
(not (self.conn_type[index] == 'Primary' or self.conn_type[index] == 'Secondary') and item.is_piping(True)): |
|
330 |
(not (self.conn_type[index] == 'Primary' or self.conn_type[index] == 'Secondary' or self.conn_type[index] == 'Connect To Process') and item.is_piping(True)):
|
|
331 | 331 |
error = SymbolSvgItem.createItem('Error', None, dataPath) |
332 | 332 |
error.setPosition(list(self.connectors[index].center())) |
333 | 333 |
error.parent = self |
내보내기 Unified diff