Fixed: Assign instead of a comparison

This commit is contained in:
kervala 2013-04-29 10:34:33 +02:00
parent 2186e92527
commit 3c97196d1b

View file

@ -507,7 +507,7 @@ bool CObject::getShortestName(std::string &instanceId, std::string &attrName, si
return false;
}
instanceId = parent2->getAttr("InstanceId")->toString();
attrName == parent2->getKey(index2);
attrName = parent2->getKey(index2);
position = index;
return true;
}