diff --git a/eeschema/files-io.cpp b/eeschema/files-io.cpp index 9e35390743..8ae896b76b 100644 --- a/eeschema/files-io.cpp +++ b/eeschema/files-io.cpp @@ -447,6 +447,10 @@ bool SCH_EDIT_FRAME::OpenProjectFiles( const std::vector& aFileSet, in !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. OnModify(); }