Don't draw the pad preview highlighted.
This commit is contained in:
parent
5703060d87
commit
fac5fcb476
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue