Skip to content

Commit

Permalink
Show the redeclare from the extends clause modifiers (#12119)
Browse files Browse the repository at this point in the history
Fixes #8129
  • Loading branch information
adeas31 committed Mar 19, 2024
1 parent 47c3c75 commit c54136e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OMEdit/OMEditLIB/Element/ElementProperties.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1687,7 +1687,7 @@ void ElementParameters::fetchClassExtendsModifiers(ModelInstance::Element *pMode
if (pModifier->getName().compare(mpElement->getName()) == 0) {
foreach (auto *pSubModifier, pModifier->getModifiers()) {
Parameter *pParameter = findParameter(pSubModifier->getName());
applyFinalStartFixedAndDisplayUnitModifiers(pParameter, pSubModifier, hasParentElement, false, true);
applyFinalStartFixedAndDisplayUnitModifiers(pParameter, pSubModifier, hasParentElement, true, true);
}
break;
}
Expand Down

0 comments on commit c54136e

Please sign in to comment.