Fix an issue (items inside FOOTPRINT_WIZARD_FRAME not displayed) when a more recent Kicad version was run.

This is due to use  of LoadPerspective() that creates many issues when a frame structure changes.
The call to this useless method is just removed.
This commit is contained in:
jean-pierre charras 2018-10-13 10:10:15 +02:00
parent 561dc052ff
commit 82b37a5cbe
1 changed files with 4 additions and 1 deletions

View File

@ -214,7 +214,10 @@ FOOTPRINT_WIZARD_FRAME::FOOTPRINT_WIZARD_FRAME( KIWAY* aKiway,
// Give a min size to the parameters
m_auimgr.GetPane( m_parametersPanel ).MinSize( wxSize( 360, 180 ) );
m_auimgr.LoadPerspective( m_auiPerspective );
// DO NOT use m_auimgr.LoadPerspective( m_auiPerspective ) here.
// It creates issues when items managed by m_auimgr are modified over the time or
// Kicad versions (some are not displayed)
// Ensure the draw panel is shown, regardless the perspective config:
m_auimgr.GetPane( wxT( "DrawFrame" ) ).Show( true );