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:
parent
49538cafb9
commit
188954f2d4
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue