Don't draw the pad preview highlighted.

This commit is contained in:
Jeff Young 2018-09-27 17:46:51 +01:00
parent 5703060d87
commit fac5fcb476
1 changed files with 3 additions and 0 deletions

View File

@ -142,7 +142,10 @@ DIALOG_PAD_PROPERTIES::DIALOG_PAD_PROPERTIES( PCB_BASE_FRAME* aParent, D_PAD* aP
m_dummyPad = new D_PAD( (MODULE*) NULL );
if( aPad )
{
*m_dummyPad = *aPad;
m_dummyPad->ClearFlags( SELECTED|HIGHLIGHTED|BRIGHTENED );
}
else // We are editing a "master" pad, i.e. a template to create new pads
*m_dummyPad = *m_padMaster;