diff --git a/pcbnew/dialogs/dialog_pad_properties.cpp b/pcbnew/dialogs/dialog_pad_properties.cpp index cb0bdbfd90..646546da81 100644 --- a/pcbnew/dialogs/dialog_pad_properties.cpp +++ b/pcbnew/dialogs/dialog_pad_properties.cpp @@ -1964,7 +1964,7 @@ void DIALOG_PAD_PROPERTIES::onAddPrimitive( wxCommandEvent& event ) }; int type = wxGetSingleChoiceIndex( wxEmptyString, _( "Select shape type:" ), - DIM( shapelist ), shapelist, 0 ); + DIM( shapelist ), shapelist, 0, this ); STROKE_T listtype[] = {