Don't try to show sub-dialog in OnActivate(). High Sierra asserts.

Fixes: lp:1832635
* https://bugs.launchpad.net/kicad/+bug/1832635
This commit is contained in:
Jeff Young 2019-06-23 15:29:29 +01:00
parent 0ed26e4e33
commit 49610085ea
1 changed files with 1 additions and 1 deletions

View File

@ -531,7 +531,7 @@ void FOOTPRINT_WIZARD_FRAME::OnActivate( wxActivateEvent& event )
if( !m_wizardListShown )
{
m_wizardListShown = true;
SelectFootprintWizard();
wxPostEvent( this, wxCommandEvent( wxEVT_TOOL, ID_FOOTPRINT_WIZARD_SELECT_WIZARD ) );
}
#if 0
// Currently, we do not have a way to see if a Python wizard has changed,