Changeset 04ccf92 in OpenModelica
- Timestamp:
- 2020-10-21T18:53:49+02:00 (3 years ago)
- Branches:
- maintenance/v1.16
- Children:
- 9b268ea7
- Parents:
- bfae500
- git-author:
- Adeel Asghar <adeel.asghar@…> (10/20/20 14:49:56)
- git-committer:
- Adrian Pop <adrian.pop@…> (10/21/20 18:53:49)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
OMEdit/OMEditLIB/Element/ElementProperties.cpp
r8dab0e9 r04ccf92 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.