개정판 8ed7a686
issue #000: fix line place
Change-Id: Ic6959cb06086337d3fb7fdcc3df58e3002e66112
DTI_PID/DTI_PID/MainWindow.py | ||
---|---|---|
2108 | 2108 |
if not self.actionLine.tag.line_type: |
2109 | 2109 |
line_type = self.lineComboBox.currentText() |
2110 | 2110 |
else: |
2111 |
if not (QEngineeringLineItem.check_piping(self.actionLine.tag.line_type) ^ QEngineeringLineItem.check_piping(self.lineComboBox.currentText())): |
|
2111 |
if self.lineComboBox.currentText() == 'Connect To Process': |
|
2112 |
line_type = self.lineComboBox.currentText() |
|
2113 |
elif not (QEngineeringLineItem.check_piping(self.actionLine.tag.line_type) ^ QEngineeringLineItem.check_piping(self.lineComboBox.currentText())): |
|
2112 | 2114 |
line_type = self.lineComboBox.currentText() |
2113 | 2115 |
else: |
2114 | 2116 |
line_type = self.actionLine.tag.line_type |
내보내기 Unified diff