Fix duplicate time stamp bug when loading legacy schematics.
This commit is contained in:
parent
14773d073d
commit
28b8e75211
|
@ -447,6 +447,10 @@ bool SCH_EDIT_FRAME::OpenProjectFiles( const std::vector<wxString>& aFileSet, in
|
||||||
!newFileFormatDlg.IsCheckBoxChecked();
|
!newFileFormatDlg.IsCheckBoxChecked();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Legacy schematic can have duplicate time stamps so fix that before converting
|
||||||
|
// to the s-expression format.
|
||||||
|
schematic.ReplaceDuplicateTimeStamps();
|
||||||
|
|
||||||
// Allow the schematic to be saved to new file format without making any edits.
|
// Allow the schematic to be saved to new file format without making any edits.
|
||||||
OnModify();
|
OnModify();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue