Fix closing a pattern file.

Because we did not properly cleared VAbstractPattern class state Valentina thought that after closing the pattern file we still have unsaved changes.
This commit is contained in:
Roman Telezhynskyi 2021-05-26 10:40:21 +03:00
parent 45256ebdd9
commit a907ab03ce

View File

@ -604,6 +604,7 @@ void VAbstractPattern::Clear()
m_watermarkPath.clear();
m_companyName.clear();
m_units = Unit::LAST_UNIT_DO_NOT_USE;
modified = false;
}
//---------------------------------------------------------------------------------------------------------------------