src/documentmanager.cpp

changeset 35
98906a94732f
parent 24
1a0faaaceb84
child 140
2f383e88acf4
--- 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))

mercurial