From a543b5063fb98d1c99db42b4ff4b88e147fe7241 Mon Sep 17 00:00:00 2001 From: Chris Pavlina Date: Thu, 18 Jun 2015 14:43:26 -0400 Subject: [PATCH] Work around for assertion in Eeschema when auto save tries to save unnamed schematic. --- eeschema/files-io.cpp | 3 +++ 1 file changed, 3 insertions(+) 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;