Fix crash bug when adding rows to pin table and then pasting to unit.
This commit is contained in:
parent
7de0159e0e
commit
8a22dab83d
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue