125 }; |
125 }; |
126 processed.append(modelName); |
126 processed.append(modelName); |
127 Model* model = this->findModelByName(modelName); |
127 Model* model = this->findModelByName(modelName); |
128 for (int i = 0; i < model->size(); i += 1) |
128 for (int i = 0; i < model->size(); i += 1) |
129 { |
129 { |
130 const QString referenceName = model->getObjectProperty(i, modelobjects::Property::ReferenceName).toString(); |
130 const QString referenceName = model->getObjectProperty(i, linetypes::Property::ReferenceName).toString(); |
131 if (not referenceName.isEmpty() |
131 if (not referenceName.isEmpty() |
132 and openModels.find(referenceName) == std::end(openModels) |
132 and openModels.find(referenceName) == std::end(openModels) |
133 and not missing.contains(referenceName)) |
133 and not missing.contains(referenceName)) |
134 { |
134 { |
135 try |
135 try |