Saved data in wrong attributes.

--HG--
branch : develop
This commit is contained in:
dismine 2014-02-07 18:53:14 +02:00
parent d996599829
commit a863382acd

View File

@ -157,8 +157,8 @@ void VToolPointOfIntersection::RefreshDataInFile()
if (domElement.isElement()) if (domElement.isElement())
{ {
SetAttribute(domElement, AttrName, point->name()); SetAttribute(domElement, AttrName, point->name());
SetAttribute(domElement, AttrName, toMM(point->mx())); SetAttribute(domElement, AttrMx, toMM(point->mx()));
SetAttribute(domElement, AttrName, toMM(point->my())); SetAttribute(domElement, AttrMy, toMM(point->my()));
SetAttribute(domElement, AttrFirstPoint, firstPointId); SetAttribute(domElement, AttrFirstPoint, firstPointId);
SetAttribute(domElement, AttrSecondPoint, secondPointId); SetAttribute(domElement, AttrSecondPoint, secondPointId);
} }