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
|
@ -465,7 +465,10 @@ void IFACE::SaveFileAs( const wxString& aProjectBasePath, const wxString& aProje
|
|||
ext == KiCadSymbolLibFileExtension )
|
||||
{
|
||||
if( destFile.GetName() == aProjectName + "-cache" )
|
||||
destFile.SetName( aNewProjectName + "-cache" );
|
||||
destFile.SetName( aNewProjectName + "-cache" );
|
||||
|
||||
if( destFile.GetName() == aProjectName + "-rescue" )
|
||||
destFile.SetName( aNewProjectName + "-rescue" );
|
||||
|
||||
KiCopyFile( aSrcFilePath, destFile.GetFullPath(), aErrors );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue