Fix typo keeping aperture pads from working.

Fixes https://gitlab.com/kicad/code/kicad/issues/5036
This commit is contained in:
Jeff Young 2020-08-01 14:44:18 +01:00
parent d586495c0a
commit 8c16c60e42
1 changed files with 1 additions and 1 deletions

View File

@ -621,7 +621,7 @@ void DIALOG_PAD_PROPERTIES::initValues()
enablePrimitivePage( PAD_SHAPE_CUSTOM == m_dummyPad->GetShape() );
// Type of pad selection
bool aperture = m_dummyPad->GetAttribute() == PAD_ATTRIB_CONN && m_dummyPad->IsAperturePad();
bool aperture = m_dummyPad->GetAttribute() == PAD_ATTRIB_SMD && m_dummyPad->IsAperturePad();
if( aperture )
{