Work around for assertion in Eeschema when auto save tries to save unnamed schematic.
This commit is contained in:
parent
4f71260319
commit
a543b5063f
|
@ -509,6 +509,9 @@ bool SCH_EDIT_FRAME::doAutoSave()
|
||||||
|
|
||||||
tmp.AssignDir( fn.GetPath() );
|
tmp.AssignDir( fn.GetPath() );
|
||||||
|
|
||||||
|
if( !tmp.IsOk() )
|
||||||
|
return false;
|
||||||
|
|
||||||
if( !IsWritable( tmp ) )
|
if( !IsWritable( tmp ) )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue