Skip to content

Commit

Permalink
Missing file from last commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
adeas31 committed Feb 10, 2017
1 parent 08e82bc commit ae41f14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OMEdit/OMEditGUI/Modeling/Commands.cpp
Expand Up @@ -753,7 +753,7 @@ void DeleteComponentCommand::undo()
}
mpGraphicsView->addComponentToClass(mpComponent);

//Restore sub-model parameters for meta models
//Restore sub-model parameters for composite models
if(pModelWidget->getLibraryTreeItem()->getLibraryType() == LibraryTreeItem::CompositeModel) {
CompositeModelEditor *pEditor = qobject_cast<CompositeModelEditor*>(pModelWidget->getEditor());
for(int i=0; i<mParameterNames.size(); ++i) {
Expand Down Expand Up @@ -1169,7 +1169,7 @@ UpdateSubModelAttributesCommand::UpdateSubModelAttributesCommand(Component *pCom
mNewComponentInfo.updateComponentInfo(&newComponentInfo);
setText(QString("Update SubModel %1 Attributes").arg(mpComponent->getName()));

//Save sub-model parameters for meta models
//Save sub-model parameters for composite models
mParameterNames = parameterNames;
mOldParameterValues = oldParameterValues;
mNewParameterValues = newParameterValues;
Expand Down

0 comments on commit ae41f14

Please sign in to comment.