Work around for assertion in Eeschema when auto save tries to save unnamed schematic.

This commit is contained in:
Chris Pavlina 2015-06-18 14:43:26 -04:00 committed by Wayne Stambaugh
parent 4f71260319
commit a543b5063f
1 changed files with 3 additions and 0 deletions

View File

@ -509,6 +509,9 @@ bool SCH_EDIT_FRAME::doAutoSave()
tmp.AssignDir( fn.GetPath() );
if( !tmp.IsOk() )
return false;
if( !IsWritable( tmp ) )
return false;