Load correct schematic page layout description file in stand alone mode.

Fixes lp:1678849

https://bugs.launchpad.net/kicad/+bug/1678849
This commit is contained in:
Wayne Stambaugh 2018-04-04 10:18:12 -04:00
parent df43f071e1
commit 696ff81dc7
1 changed files with 2 additions and 2 deletions

View File

@ -249,8 +249,6 @@ bool SCH_EDIT_FRAME::OpenProjectFiles( const std::vector<wxString>& aFileSet, in
SetStatusText( wxEmptyString );
ClearMsgPanel();
LoadProjectFile();
// PROJECT::SetProjectFullName() is an impactful function. It should only be
// called under carefully considered circumstances.
@ -274,6 +272,8 @@ bool SCH_EDIT_FRAME::OpenProjectFiles( const std::vector<wxString>& aFileSet, in
Prj().SchLibs();
}
LoadProjectFile();
// Load the symbol library table, this will be used forever more.
Prj().SetElem( PROJECT::ELEM_SYMBOL_LIB_TABLE, NULL );
Prj().SchSymbolLibTable();