diff --git a/src/tools/drawTools/vtoolpointofintersection.cpp b/src/tools/drawTools/vtoolpointofintersection.cpp index ba0c99d79..c9e84e23e 100644 --- a/src/tools/drawTools/vtoolpointofintersection.cpp +++ b/src/tools/drawTools/vtoolpointofintersection.cpp @@ -157,8 +157,8 @@ void VToolPointOfIntersection::RefreshDataInFile() if (domElement.isElement()) { SetAttribute(domElement, AttrName, point->name()); - SetAttribute(domElement, AttrName, toMM(point->mx())); - SetAttribute(domElement, AttrName, toMM(point->my())); + SetAttribute(domElement, AttrMx, toMM(point->mx())); + SetAttribute(domElement, AttrMy, toMM(point->my())); SetAttribute(domElement, AttrFirstPoint, firstPointId); SetAttribute(domElement, AttrSecondPoint, secondPointId); }