Set padEntered when entering pad edit mode with a non-custom shaped pad.

This commit is contained in:
Jeff Young 2023-09-11 21:27:08 +01:00
parent 899fe8be17
commit 84a9f6f665
1 changed files with 3 additions and 2 deletions

View File

@ -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;