Skip to content

Commit

Permalink
ticket:4081
Browse files Browse the repository at this point in the history
Only skip the Record sub modifiers.
  • Loading branch information
adeas31 committed Oct 18, 2016
1 parent c9b1bad commit d605fc7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion OMEdit/OMEditGUI/Component/Component.cpp
Expand Up @@ -232,7 +232,12 @@ void ComponentInfo::fetchModifiers(OMCProxy *pOMCProxy, QString className, Compo
QString modifierName = StringHandler::getFirstWordBeforeDot(componentModifier);
// if we have already read the record modifier then continue
if (mModifiersMap.contains(modifierName)) {
continue;
/* Ticket:4081
* If modifier is record then we can jump over otherwise read the modifier value.
*/
if (pOMCProxy->isWhat(StringHandler::Record, modifierName)) {
continue;
}
}
/* Ticket:3626
* If a modifier class is a record we read the modifer value with submodifiers using OMCProxy::getComponentModifierValues()
Expand Down

0 comments on commit d605fc7

Please sign in to comment.