Add conversion when openning pattern.
--HG-- branch : feature
This commit is contained in:
parent
1d1b3e3670
commit
3ebb56a40c
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user