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.
(cherry picked from commit a907ab03ce
)
This commit is contained in:
parent
00b436e21d
commit
18c804c962
|
@ -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