Set modified flag when loading old s-expr files.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16113
This commit is contained in:
Jeff Young 2023-11-18 20:26:56 +00:00
parent 7fd9226bec
commit 37b6cd1714
1 changed files with 3 additions and 0 deletions

View File

@ -490,6 +490,9 @@ bool SCH_EDIT_FRAME::OpenProjectFiles( const std::vector<wxString>& aFileSet, in
for( SCH_SCREEN* screen = schematic.GetFirst(); screen; screen = schematic.GetNext() )
screen->MigrateSimModels();
// Allow the schematic to be saved to new file format without making any edits.
OnModify();
}
Schematic().ConnectionGraph()->Reset();