eeschema: minor problem when saving project: lib cache name was not always the root sheet name
This commit is contained in:
parent
e44bf71268
commit
a178978cbe
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue