개정판 5a4be5ff
issue #1054 : Two_Phase 타입 OK 전 확인
Change-Id: I10a70b3f522ef01ebb880ed9e55c74e54ee6813f
HYTOS/HYTOS/StreamDataDialog.py | ||
---|---|---|
1560 | 1560 |
self.item.mixed_geometry = geometry |
1561 | 1561 |
|
1562 | 1562 |
def accept(self): |
1563 |
# Mixed Type Check |
|
1564 |
phase_type = self.ui.comboBox_PhaseType.currentData() |
|
1565 |
if phase_type == 'Mixed': |
|
1566 |
if self.item.pressure_variation is None: |
|
1567 |
QMessageBox.information(self, self.tr("Information"), self.tr("Calculate this line !")) |
|
1568 |
return |
|
1569 |
|
|
1563 | 1570 |
self.update_hmb() |
1564 | 1571 |
self.result = True |
1565 | 1572 |
|
내보내기 Unified diff