diff --git a/eeschema/files-io.cpp b/eeschema/files-io.cpp index ae36434aa3..4f412c64ae 100644 --- a/eeschema/files-io.cpp +++ b/eeschema/files-io.cpp @@ -238,7 +238,7 @@ bool SCH_EDIT_FRAME::OpenProjectFiles( const std::vector& aFileSet, in if( ( aCtl & KICTL_REVERT ) ) { - DeleteAutoSaveFile( fullFileName ); + DeleteAutoSaveFile( autoSaveFn ); } else {