Fix display of footprint parse errors at load
This commit is contained in:
parent
7fe863c9d0
commit
ae13a46ace
|
@ -152,9 +152,6 @@ FOOTPRINT_EDIT_FRAME::FOOTPRINT_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent ) :
|
||||||
// footprint or pad mask expansions settings should be shown.
|
// footprint or pad mask expansions settings should be shown.
|
||||||
GetBoard()->GetDesignSettings().m_SolderMaskExpansion = 0;
|
GetBoard()->GetDesignSettings().m_SolderMaskExpansion = 0;
|
||||||
|
|
||||||
// restore the last footprint from the project, if any
|
|
||||||
restoreLastFootprint();
|
|
||||||
|
|
||||||
// Ensure all layers and items are visible:
|
// Ensure all layers and items are visible:
|
||||||
// In footprint editor, some layers have no meaning or cannot be used, but we show all of
|
// In footprint editor, some layers have no meaning or cannot be used, but we show all of
|
||||||
// them, at least to be able to edit a bad layer
|
// them, at least to be able to edit a bad layer
|
||||||
|
@ -173,6 +170,9 @@ FOOTPRINT_EDIT_FRAME::FOOTPRINT_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent ) :
|
||||||
initLibraryTree();
|
initLibraryTree();
|
||||||
m_treePane = new FOOTPRINT_TREE_PANE( this );
|
m_treePane = new FOOTPRINT_TREE_PANE( this );
|
||||||
|
|
||||||
|
// restore the last footprint from the project, if any, after the library has been init'ed
|
||||||
|
restoreLastFootprint();
|
||||||
|
|
||||||
ReCreateMenuBar();
|
ReCreateMenuBar();
|
||||||
ReCreateHToolbar();
|
ReCreateHToolbar();
|
||||||
ReCreateVToolbar();
|
ReCreateVToolbar();
|
||||||
|
|
Loading…
Reference in New Issue