diff --git a/eeschema/files-io.cpp b/eeschema/files-io.cpp index a50fe07604..33c59a6df3 100644 --- a/eeschema/files-io.cpp +++ b/eeschema/files-io.cpp @@ -931,6 +931,8 @@ bool SCH_EDIT_FRAME::doAutoSave() if( !IsWritable( tmp ) ) return false; + wxString title = GetTitle(); // Save frame title, that can be modified by the save process + for( size_t i = 0; i < screens.GetCount(); i++ ) { // Only create auto save files for the schematics that have been modified. @@ -963,6 +965,8 @@ bool SCH_EDIT_FRAME::doAutoSave() } } + SetTitle( title ); + return autoSaveOk; }