From f214cfae12ea6745c92e647f572a43e89be92405 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sun, 23 Jun 2019 15:29:29 +0100 Subject: [PATCH] Don't try to show sub-dialog in OnActivate(). High Sierra asserts. Fixes: lp:1832635 * https://bugs.launchpad.net/kicad/+bug/1832635 --- pcbnew/footprint_wizard_frame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/footprint_wizard_frame.cpp b/pcbnew/footprint_wizard_frame.cpp index 1bf5ce7273..e5e9f33cca 100644 --- a/pcbnew/footprint_wizard_frame.cpp +++ b/pcbnew/footprint_wizard_frame.cpp @@ -600,7 +600,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,