mirror of
https://gitlab.com/smart-pattern/valentina.git
synced 2024-10-01 12:51:36 +02:00
Create reserve copy only if a file is not a template.
--HG-- branch : develop
This commit is contained in:
parent
29c61b9778
commit
685f8a7d70
|
@ -70,7 +70,10 @@ QString VAbstractConverter::Convert()
|
||||||
return m_convertedFileName;
|
return m_convertedFileName;
|
||||||
}
|
}
|
||||||
|
|
||||||
ReserveFile();
|
if (not IsReadOnly())
|
||||||
|
{
|
||||||
|
ReserveFile();
|
||||||
|
}
|
||||||
|
|
||||||
if (m_tmpFile.open())
|
if (m_tmpFile.open())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue