diff --git a/src/xml/vdomdocument.cpp b/src/xml/vdomdocument.cpp index 37a0c3af6..6012b4875 100644 --- a/src/xml/vdomdocument.cpp +++ b/src/xml/vdomdocument.cpp @@ -128,6 +128,8 @@ void VDomDocument::CreateEmptyFile() QDomElement domElement = this->createElement("pattern"); this->appendChild(domElement); + QDomComment info = this->createComment("Valentina pattern format."); + domElement.appendChild(info); QDomNode xmlNode = this->createProcessingInstruction("xml", "version=\"1.0\" encoding=\"UTF-8\""); this->insertBefore(xmlNode, this->firstChild()); QDomElement incrElement = this->createElement("increments");