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

(cherry picked from commit 8a22dab83d)
This commit is contained in:
Jeff Young 2022-02-18 17:06:56 +00:00
parent 762258203c
commit 9fcd4113b0
1 changed files with 1 additions and 0 deletions

View File

@ -621,6 +621,7 @@ void DIALOG_LIB_EDIT_PIN_TABLE::OnAddRow( wxCommandEvent& event )
newPin->SetOrientation( last->GetOrientation() );
newPin->SetType( last->GetType() );
newPin->SetShape( last->GetShape() );
newPin->SetParent( last->GetParent() );
wxPoint pos = last->GetPosition();