Commit a178978c authored by charras's avatar charras

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

parent e44bf712
...@@ -243,7 +243,7 @@ void WinEDA_SchematicFrame::SaveProject() ...@@ -243,7 +243,7 @@ void WinEDA_SchematicFrame::SaveProject()
} }
/* Creation du fichier d'archivage composants en repertoire courant */ /* 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 ); ChangeFileNameExt( LibArchiveFileName, wxEmptyString );
/* mise a jour extension */ /* mise a jour extension */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment