diff --git a/pcbnew/dialogs/dialog_pad_basicshapes_properties.cpp b/pcbnew/dialogs/dialog_pad_basicshapes_properties.cpp index 197b2388a2..8f6a59f29c 100644 --- a/pcbnew/dialogs/dialog_pad_basicshapes_properties.cpp +++ b/pcbnew/dialogs/dialog_pad_basicshapes_properties.cpp @@ -498,8 +498,8 @@ DIALOG_PAD_PRIMITIVES_TRANSFORM::DIALOG_PAD_PRIMITIVES_TRANSFORM( if( !aShowDuplicate ) // means no duplicate transform { - m_staticTextDupCnt->Enable( false ); - m_spinCtrlDuplicateCount->Enable( false ); + m_staticTextDupCnt->Show( false ); + m_spinCtrlDuplicateCount->Show( false ); } m_sdbSizerOK->SetDefault(); diff --git a/pcbnew/dialogs/dialog_pad_properties.cpp b/pcbnew/dialogs/dialog_pad_properties.cpp index c9c35ffe76..2a1dbcb20d 100644 --- a/pcbnew/dialogs/dialog_pad_properties.cpp +++ b/pcbnew/dialogs/dialog_pad_properties.cpp @@ -1867,7 +1867,7 @@ void DIALOG_PAD_PROPERTIES::onGeometryTransform( wxCommandEvent& event ) shapeList.push_back( &m_primitives[select] ); } - DIALOG_PAD_PRIMITIVES_TRANSFORM dlg( this, shapeList ); + DIALOG_PAD_PRIMITIVES_TRANSFORM dlg( this, shapeList, false ); if( dlg.ShowModal() != wxID_OK ) return; diff --git a/pcbnew/dialogs/dialog_pad_properties.h b/pcbnew/dialogs/dialog_pad_properties.h index a1da50f470..875b8b7af1 100644 --- a/pcbnew/dialogs/dialog_pad_properties.h +++ b/pcbnew/dialogs/dialog_pad_properties.h @@ -236,7 +236,7 @@ class DIALOG_PAD_PRIMITIVES_TRANSFORM : public DIALOG_PAD_PRIMITIVES_TRANSFORM_B { public: DIALOG_PAD_PRIMITIVES_TRANSFORM( wxWindow* aParent, - std::vector& aList, bool aShowDuplicate = false ); + std::vector& aList, bool aShowDuplicate ); /** * Apply geometric transform (rotation, move, scale) defined in dialog