From ddb040901b6ef63b4aa1bfec6e80f8bcb0aeb4ea Mon Sep 17 00:00:00 2001 From: BojanKverh Date: Sun, 23 Oct 2016 21:51:22 +0200 Subject: [PATCH] Fixed default values for grainline formulas --HG-- branch : feature --- src/app/valentina/xml/vpattern.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/valentina/xml/vpattern.cpp b/src/app/valentina/xml/vpattern.cpp index f3d662117..682114bd6 100644 --- a/src/app/valentina/xml/vpattern.cpp +++ b/src/app/valentina/xml/vpattern.cpp @@ -734,7 +734,7 @@ void VPattern::ParseDetailElement(const QDomElement &domElement, const Document catch (VExceptionEmptyParameter eep) { Q_UNUSED(eep); - detail.GetGrainlineGeometry().SetLength(""); + detail.GetGrainlineGeometry().SetLength("0"); } try @@ -745,7 +745,7 @@ void VPattern::ParseDetailElement(const QDomElement &domElement, const Document catch(VExceptionEmptyParameter eep) { Q_UNUSED(eep); - detail.GetGrainlineGeometry().SetRotation(""); + detail.GetGrainlineGeometry().SetRotation("90"); } } }