Add conversion when openning pattern.

--HG--
branch : feature
This commit is contained in:
dismine 2014-12-11 22:56:59 +02:00
parent 1d1b3e3670
commit 3ebb56a40c

View File

@ -2351,6 +2351,9 @@ void MainWindow::LoadPattern(const QString &fileName)
qApp->setOpeningPattern();//Begin opening file
try
{
VPatternConverter converter(fileName);
converter.Convert();
VDomDocument::ValidateXML(VPatternConverter::CurrentSchema, fileName);
doc->setXMLContent(fileName);