eeschema: minor problem when saving project: lib cache name was not always the root sheet name

This commit is contained in:
charras 2008-09-12 10:48:53 +00:00
parent e44bf71268
commit a178978cbe
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ void WinEDA_SchematicFrame::SaveProject()
}
/* Creation du fichier d'archivage composants en repertoire courant */
LibArchiveFileName = MakeFileName( wxEmptyString, GetScreen()->m_FileName, wxEmptyString );
LibArchiveFileName = MakeFileName( wxEmptyString, g_RootSheet->GetFileName(), wxEmptyString );
ChangeFileNameExt( LibArchiveFileName, wxEmptyString );
/* mise a jour extension */