Commit 188954f2 authored by jean-pierre charras's avatar jean-pierre charras

Eeschema: fix incorrect value of m_Flags member (must be 0) of schematic...

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.
parent 49538caf
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment