Create reserve copy only if a file is not a template.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-02-05 11:27:30 +02:00
parent 29c61b9778
commit 685f8a7d70

View File

@ -70,7 +70,10 @@ QString VAbstractConverter::Convert()
return m_convertedFileName;
}
ReserveFile();
if (not IsReadOnly())
{
ReserveFile();
}
if (m_tmpFile.open())
{