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