Fix crash bug when adding rows to pin table and then pasting to unit.

This commit is contained in:
Jeff Young 2022-02-18 17:06:56 +00:00
parent 7de0159e0e
commit 8a22dab83d
1 changed files with 1 additions and 0 deletions

View File

@ -749,6 +749,7 @@ void DIALOG_LIB_EDIT_PIN_TABLE::OnAddRow( wxCommandEvent& event )
newPin->SetType( last->GetType() );
newPin->SetShape( last->GetShape() );
newPin->SetUnit( last->GetUnit() );
newPin->SetParent( last->GetParent() );
VECTOR2I pos = last->GetPosition();