Add mapping for -rescue.lib in project Save As.
Fixes https://gitlab.com/kicad/code/kicad/issues/12503
This commit is contained in:
parent
25f06eed8c
commit
5366fa8cee
|
@ -467,6 +467,9 @@ void IFACE::SaveFileAs( const wxString& aProjectBasePath, const wxString& aProje
|
|||
if( destFile.GetName() == aProjectName + "-cache" )
|
||||
destFile.SetName( aNewProjectName + "-cache" );
|
||||
|
||||
if( destFile.GetName() == aProjectName + "-rescue" )
|
||||
destFile.SetName( aNewProjectName + "-rescue" );
|
||||
|
||||
KiCopyFile( aSrcFilePath, destFile.GetFullPath(), aErrors );
|
||||
}
|
||||
else if( ext == NetlistFileExtension )
|
||||
|
|
Loading…
Reference in New Issue