From a863382acd2de9df792081e8109071607bb30a5f Mon Sep 17 00:00:00 2001 From: dismine Date: Fri, 7 Feb 2014 18:53:14 +0200 Subject: [PATCH] Saved data in wrong attributes. --HG-- branch : develop --- src/tools/drawTools/vtoolpointofintersection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }