diff --git a/eeschema/files-io.cpp b/eeschema/files-io.cpp index 4ef6572b3f..39922f595e 100644 --- a/eeschema/files-io.cpp +++ b/eeschema/files-io.cpp @@ -509,6 +509,9 @@ bool SCH_EDIT_FRAME::doAutoSave() tmp.AssignDir( fn.GetPath() ); + if( !tmp.IsOk() ) + return false; + if( !IsWritable( tmp ) ) return false;