Formatting.

This commit is contained in:
Jeff Young 2021-04-25 14:47:46 +01:00
parent 8c92ea1e9a
commit 517bcb15b1
1 changed files with 4 additions and 1 deletions

View File

@ -168,8 +168,11 @@ DIALOG_PAD_PROPERTIES::DIALOG_PAD_PROPERTIES( PCB_BASE_FRAME* aParent, PAD* aPad
*m_dummyPad = *aPad;
m_dummyPad->ClearFlags( SELECTED|BRIGHTENED );
}
else // We are editing a "master" pad, i.e. a template to create new pads
else
{
// We are editing a "master" pad, i.e. a template to create new pads
*m_dummyPad = *m_padMaster;
}
// Pad needs to have a parent for painting; use the parent board for its design settings
if( !m_dummyPad->GetParent() )