Fix crash launching footprint editor frame
Apparently we get this event before the frame is fully-baked
This commit is contained in:
parent
42c6af4bd8
commit
d0d6352a25
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue