Skip to content

Commit

Permalink
Reverted previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
robbr48 committed Apr 8, 2016
1 parent c77151b commit 8909e6f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions OMEdit/OMEditGUI/Editors/MetaModelEditor.cpp
Expand Up @@ -434,9 +434,6 @@ void MetaModelEditor::addInterfacesData(QDomElement interfaces)
QDomNodeList subModelList = mXmlDocument.elementsByTagName("SubModel");
for (int i = 0 ; i < subModelList.size() ; i++) {
QDomElement subModel = subModelList.at(i).toElement();
while(!subModel.firstChildElement("InterfacePoint").isNull()) { //First remove all existing interfaces!
subModel.removeChild(subModel.firstChildElement("InterfacePoint"));
}
QDomElement interfaceDataElement = interfaces.firstChildElement();
while (!interfaceDataElement.isNull()) {
subModel = subModelList.at(i).toElement();
Expand Down

0 comments on commit 8909e6f

Please sign in to comment.