diff -r 1de2b8d64e9f -r 98906a94732f src/documentmanager.cpp --- a/src/documentmanager.cpp Tue Jan 28 23:34:49 2020 +0200 +++ b/src/documentmanager.cpp Thu Jan 30 19:20:11 2020 +0200 @@ -161,7 +161,7 @@ Model* model = this->findModelByName(modelName); for (int i = 0; i < model->size(); i += 1) { - const QString referenceName = model->getObjectProperty(i, linetypes::Property::ReferenceName).toString(); + const QString referenceName = model->getObjectProperty(i, ldraw::Property::ReferenceName).toString(); if (not referenceName.isEmpty() and openModels.find(referenceName) == std::end(openModels) and not missing.contains(referenceName))