Fix segfault after using group properties dialog
Fixes https://gitlab.com/kicad/code/kicad/issues/8302
This commit is contained in:
parent
ddeac126ad
commit
cbe8b1644a
|
@ -58,6 +58,9 @@ DIALOG_GROUP_PROPERTIES::DIALOG_GROUP_PROPERTIES( PCB_BASE_EDIT_FRAME* aParent,
|
|||
|
||||
DIALOG_GROUP_PROPERTIES::~DIALOG_GROUP_PROPERTIES()
|
||||
{
|
||||
if( m_brdEditor->IsBeingDeleted() )
|
||||
return;
|
||||
|
||||
m_brdEditor->FocusOnItem( nullptr );
|
||||
m_brdEditor->GetCanvas()->Refresh();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue