Fixed issues when opening a pagelayout from the command line
This commit is contained in:
parent
f2055f6c5d
commit
e04860d61b
|
@ -103,7 +103,6 @@ bool EDA_APP::OnInit()
|
|||
|
||||
if( fn.IsOk() )
|
||||
{
|
||||
wxSetWorkingDirectory( fn.GetPath() );
|
||||
bool success = frame->LoadPageLayoutDescrFile( fn.GetFullPath() );
|
||||
if( !success )
|
||||
{
|
||||
|
@ -113,7 +112,10 @@ bool EDA_APP::OnInit()
|
|||
wxMessageBox( msg );
|
||||
}
|
||||
else
|
||||
{
|
||||
descrLoaded = true;
|
||||
frame->OnNewPageLayout();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue