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
This commit is contained in:
BojanKverh 2016-07-03 11:41:48 +02:00
parent c58717a803
commit 4829b28d25

View File

@ -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)
{