From 8a22dab83d3820db91793df0a1176dac18424a2d Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Fri, 18 Feb 2022 17:06:56 +0000 Subject: [PATCH] Fix crash bug when adding rows to pin table and then pasting to unit. --- eeschema/dialogs/dialog_lib_edit_pin_table.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/eeschema/dialogs/dialog_lib_edit_pin_table.cpp b/eeschema/dialogs/dialog_lib_edit_pin_table.cpp index 436b4dc7ca..abb8743720 100644 --- a/eeschema/dialogs/dialog_lib_edit_pin_table.cpp +++ b/eeschema/dialogs/dialog_lib_edit_pin_table.cpp @@ -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();