diff --git a/eeschema/files-io.cpp b/eeschema/files-io.cpp index 9a17c98f3e..59bff0fe93 100644 --- a/eeschema/files-io.cpp +++ b/eeschema/files-io.cpp @@ -302,6 +302,10 @@ bool SCH_EDIT_FRAME::OpenProjectFiles( const std::vector& aFileSet, in Prj().SetElem( PROJECT::ELEM_SCH_PART_LIBS, NULL ); } + // Make sure the project file name is set (it won't be in standalone mode) + if( pro.GetFullPath() != Prj().GetProjectFullName() ) + Prj().SetProjectFullName( pro.GetFullPath() ); + LoadProjectFile(); // Load the symbol library table, this will be used forever more.