Fixed: Assign instead of a comparison

This commit is contained in:
kervala 2013-04-29 10:34:33 +02:00
parent 4f4f47c727
commit 9848b49a76

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;
}