From 4829b28d25313b1e8f4d9e1deffbdf83f5b88e5a Mon Sep 17 00:00:00 2001 From: BojanKverh Date: Sun, 3 Jul 2016 11:41:48 +0200 Subject: [PATCH] Fixed saving documents that were created before 0.3.3 schema. This change sets a new version right after the DOM tree from loaded document is created. --HG-- branch : feature --- src/app/valentina/xml/vpattern.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/valentina/xml/vpattern.cpp b/src/app/valentina/xml/vpattern.cpp index acaccce79..b6e3374cc 100644 --- a/src/app/valentina/xml/vpattern.cpp +++ b/src/app/valentina/xml/vpattern.cpp @@ -705,6 +705,7 @@ void VPattern::ParseDetailElement(const QDomElement &domElement, const Document } } VToolDetail::Create(id, detail, sceneDetail, this, data, parse, Source::FromFile); + SetVersion(); } catch (const VExceptionBadId &e) {