Eeschema: fix incorrect value of m_Flags member (must be 0) of schematic components after loading a schematic file.

Previously,  m_Flags was set to IS_CHANGED, which is incorrect.
This commit is contained in:
jean-pierre charras 2014-08-18 10:04:26 +02:00
parent 49538cafb9
commit 188954f2d4
1 changed files with 4 additions and 0 deletions

View File

@ -1413,6 +1413,10 @@ bool SCH_COMPONENT::Load( LINE_READER& aLine, wxString& aErrorMsg )
}
}
// ensure flags (mainly used in edit) are cleared.
// some changes have set the modified flag
m_Flags = 0;
return true;
}