Changeset be36742d in OpenModelica
- Timestamp:
- 2020-10-20T14:49:56+02:00 (3 years ago)
- Parents:
- f86be0fb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
OMEdit/OMEditLIB/Element/ElementProperties.cpp
r9c31adbf rbe36742d 185 185 if (index > -1) { 186 186 mpValueComboBox->setCurrentIndex(index); 187 mpValueComboBox->lineEdit()->setText(value);188 mpValueComboBox-> lineEdit()->setModified(valueModified);187 } else { // if we fail to find the value in the combobox then add it to the combobox 188 mpValueComboBox->insertItem(1, value, value); 189 189 } 190 mpValueComboBox->lineEdit()->setText(value); 191 mpValueComboBox->lineEdit()->setModified(valueModified); 190 192 mpValueComboBox->blockSignals(state); 191 193 }
Note: See TracChangeset
for help on using the changeset viewer.