From 8c16c60e429d60d21eeea69449df13e015c8e36b Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sat, 1 Aug 2020 14:44:18 +0100 Subject: [PATCH] Fix typo keeping aperture pads from working. Fixes https://gitlab.com/kicad/code/kicad/issues/5036 --- pcbnew/dialogs/dialog_pad_properties.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/dialogs/dialog_pad_properties.cpp b/pcbnew/dialogs/dialog_pad_properties.cpp index 3d7f8f88b7..4ec9bde1cc 100644 --- a/pcbnew/dialogs/dialog_pad_properties.cpp +++ b/pcbnew/dialogs/dialog_pad_properties.cpp @@ -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 ) {