Fix typo keeping aperture pads from working.
Fixes https://gitlab.com/kicad/code/kicad/issues/5036
This commit is contained in:
parent
d586495c0a
commit
8c16c60e42
|
@ -621,7 +621,7 @@ void DIALOG_PAD_PROPERTIES::initValues()
|
||||||
enablePrimitivePage( PAD_SHAPE_CUSTOM == m_dummyPad->GetShape() );
|
enablePrimitivePage( PAD_SHAPE_CUSTOM == m_dummyPad->GetShape() );
|
||||||
|
|
||||||
// Type of pad selection
|
// 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 )
|
if( aperture )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue