Ensure that eeschema loads project params in standalone mode

This commit is contained in:
Jon Evans 2020-05-19 23:32:49 -04:00
parent e1476dea58
commit b074cdf185
1 changed files with 4 additions and 0 deletions

View File

@ -302,6 +302,10 @@ bool SCH_EDIT_FRAME::OpenProjectFiles( const std::vector<wxString>& 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.