개정판 27867b6b
issue #000: fix symbol editor
Change-Id: I624a35b6f8ed8af8b2736a43119d1537c686b7c6
DTI_PID/DTI_PID/SymbolEditorDialog.py | ||
---|---|---|
844 | 844 |
break_ComboBox.setCurrentText('X') |
845 | 845 |
self.ui.tableWidgetConnList.setCellWidget(rows, 4, break_ComboBox) |
846 | 846 |
|
847 |
configs = AppDocData.instance().getConfigs('Line', 'Default Type') |
|
848 |
conn_type = configs[0].value if 1 == len(configs) else 'Secondary' |
|
849 |
|
|
847 | 850 |
conn_type_combobox = QComboBox(self.ui.tableWidgetConnList) |
848 | 851 |
conn_type_combobox.addItems([lineType.name for lineType in LineTypeConditions.items()]) |
849 | 852 |
conn_type_combobox.setCurrentText(conn_type) |
850 |
self.ui.tableWidgetConnList.setCellWidget(row, 5, conn_type_combobox) |
|
853 |
self.ui.tableWidgetConnList.setCellWidget(rows, 5, conn_type_combobox)
|
|
851 | 854 |
|
852 | 855 |
self.conn_index += 1 |
853 | 856 |
|
내보내기 Unified diff