diff --git a/pcbnew/exporters/gen_footprints_placefile.cpp b/pcbnew/exporters/gen_footprints_placefile.cpp index 32eba09bf1..533675843b 100644 --- a/pcbnew/exporters/gen_footprints_placefile.cpp +++ b/pcbnew/exporters/gen_footprints_placefile.cpp @@ -108,7 +108,7 @@ private: void onUpdateUIforceSMDOpt( wxUpdateUIEvent& event ) override { - m_radioBoxFilesCount->Enable( m_rbFormat->GetSelection() != 2 ); + m_forceSMDOpt->Enable( m_rbFormat->GetSelection() != 2 ); } void onUpdateUIincludeBoardEdge( wxUpdateUIEvent& event ) override