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:
parent
45256ebdd9
commit
a907ab03ce
|
@ -604,6 +604,7 @@ void VAbstractPattern::Clear()
|
||||||
m_watermarkPath.clear();
|
m_watermarkPath.clear();
|
||||||
m_companyName.clear();
|
m_companyName.clear();
|
||||||
m_units = Unit::LAST_UNIT_DO_NOT_USE;
|
m_units = Unit::LAST_UNIT_DO_NOT_USE;
|
||||||
|
modified = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user