Changeset 5960d7d in OpenModelica


Ignore:
Timestamp:
2020-10-16T14:10:30+02:00 (4 years ago)
Author:
arun3688 <rain100falls@…>
Parents:
4ed1a225
git-author:
arun3688 <rain100falls@…> (10/16/20 14:06:11)
git-committer:
arun3688 <rain100falls@…> (10/16/20 14:10:30)
Message:

improve code readability

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OMEdit/OMEditLIB/OMS/ElementPropertiesDialog.cpp

    r4ed1a225 r5960d7d  
    355355          // delete start values only
    356356          OMSProxy::instance()->omsDelete(nameStructure + ":start");
    357         }
    358         else {
     357        } else {
    359358          if (pInterfaces[i]->type == oms_signal_type_real) {
    360359            OMSProxy::instance()->setReal(nameStructure, parameterValue.toDouble());
     
    379378          // delete start values only
    380379          OMSProxy::instance()->omsDelete(nameStructure + ":start");
    381         }
    382         else{
     380        } else {
    383381          if (pInterfaces[i]->type == oms_signal_type_real) {
    384382            OMSProxy::instance()->setReal(nameStructure, inputValue.toDouble());
Note: See TracChangeset for help on using the changeset viewer.