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,9 +813,10 @@ PCB_LAYER_ID PAD_TOOL::explodePad( PAD* aPad )
aPad->SetShape( aPad->GetAnchorPadShape() );
aPad->DeletePrimitivesList();
}
aPad->SetFlags( ENTERED );
m_editPad = aPad->m_Uuid;
}
commit.Push( _("Edit pad shapes") );
m_toolMgr->RunAction( PCB_ACTIONS::selectionClear );