Add mapping for -rescue.lib in project Save As.
Fixes https://gitlab.com/kicad/code/kicad/issues/12503
(cherry picked from commit 5366fa8cee
)
This commit is contained in:
parent
2f47857abc
commit
27676f4388
|
@ -356,7 +356,10 @@ void IFACE::SaveFileAs( const wxString& aProjectBasePath, const wxString& aProje
|
|||
ext == KiCadSymbolLibFileExtension )
|
||||
{
|
||||
if( destFile.GetName() == aProjectName + wxT( "-cache" ) )
|
||||
destFile.SetName( aNewProjectName + wxT( "-cache" ) );
|
||||
destFile.SetName( aNewProjectName + wxT( "-cache" ) );
|
||||
|
||||
if( destFile.GetName() == aProjectName + wxT( "-rescue" ) )
|
||||
destFile.SetName( aNewProjectName + wxT( "-rescue" ) );
|
||||
|
||||
KiCopyFile( aSrcFilePath, destFile.GetFullPath(), aErrors );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue