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:
parent
c58717a803
commit
4829b28d25
|
@ -705,6 +705,7 @@ void VPattern::ParseDetailElement(const QDomElement &domElement, const Document
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
VToolDetail::Create(id, detail, sceneDetail, this, data, parse, Source::FromFile);
|
VToolDetail::Create(id, detail, sceneDetail, this, data, parse, Source::FromFile);
|
||||||
|
SetVersion();
|
||||||
}
|
}
|
||||||
catch (const VExceptionBadId &e)
|
catch (const VExceptionBadId &e)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user