Set padEntered when entering pad edit mode with a non-custom shaped pad.
This commit is contained in:
parent
899fe8be17
commit
84a9f6f665
|
@ -813,10 +813,11 @@ PCB_LAYER_ID PAD_TOOL::explodePad( PAD* aPad )
|
||||||
|
|
||||||
aPad->SetShape( aPad->GetAnchorPadShape() );
|
aPad->SetShape( aPad->GetAnchorPadShape() );
|
||||||
aPad->DeletePrimitivesList();
|
aPad->DeletePrimitivesList();
|
||||||
aPad->SetFlags( ENTERED );
|
|
||||||
m_editPad = aPad->m_Uuid;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
aPad->SetFlags( ENTERED );
|
||||||
|
m_editPad = aPad->m_Uuid;
|
||||||
|
|
||||||
commit.Push( _("Edit pad shapes") );
|
commit.Push( _("Edit pad shapes") );
|
||||||
m_toolMgr->RunAction( PCB_ACTIONS::selectionClear );
|
m_toolMgr->RunAction( PCB_ACTIONS::selectionClear );
|
||||||
return layer;
|
return layer;
|
||||||
|
|
Loading…
Reference in New Issue