Changeset 058d092e in OpenModelica
- Timestamp:
- 2020-10-20T22:21:47+02:00 (4 years ago)
- Branches:
- Added-citation-metadata, maintenance/v1.17, maintenance/v1.18, maintenance/v1.19, maintenance/v1.20, maintenance/v1.21, maintenance/v1.22, maintenance/v1.23, master, omlib-staging
- Children:
- 91ac78f
- Parents:
- edc1005
- git-author:
- Adeel Asghar <adeel.asghar@…> (10/20/20 14:49:56)
- git-committer:
- Adrian Pop <adrian.pop@…> (10/20/20 22:21:47)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
OMEdit/OMEditLIB/Element/ElementProperties.cpp
r9c31adbf r058d092e 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.