--- a/src/documentmanager.cpp Sun Nov 03 17:57:21 2019 +0200 +++ b/src/documentmanager.cpp Sun Nov 03 18:09:47 2019 +0200 @@ -127,7 +127,7 @@ Model* model = this->findModelByName(modelName); for (int i = 0; i < model->size(); i += 1) { - const QString referenceName = model->getObjectProperty(i, modelobjects::Property::ReferenceName).toString(); + const QString referenceName = model->getObjectProperty(i, linetypes::Property::ReferenceName).toString(); if (not referenceName.isEmpty() and openModels.find(referenceName) == std::end(openModels) and not missing.contains(referenceName))