Fix crash launching footprint editor frame

Apparently we get this event before the frame is fully-baked
This commit is contained in:
Jon Evans 2021-03-27 23:48:07 -04:00
parent 42c6af4bd8
commit d0d6352a25
1 changed files with 2 additions and 1 deletions

View File

@ -228,5 +228,6 @@ void PCB_BASE_EDIT_FRAME::handleActivateEvent( wxActivateEvent& aEvent )
EDA_DRAW_FRAME::handleActivateEvent( aEvent );
// The text in the collapsible pane headers need to be updated
m_appearancePanel->RefreshCollapsiblePanes();
if( m_appearancePanel )
m_appearancePanel->RefreshCollapsiblePanes();
}