Refinements in pad properties dialog
This commit is contained in:
parent
7c1ac6fbcc
commit
8d1d37beb0
|
@ -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();
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -236,7 +236,7 @@ class DIALOG_PAD_PRIMITIVES_TRANSFORM : public DIALOG_PAD_PRIMITIVES_TRANSFORM_B
|
|||
{
|
||||
public:
|
||||
DIALOG_PAD_PRIMITIVES_TRANSFORM( wxWindow* aParent,
|
||||
std::vector<PAD_CS_PRIMITIVE*>& aList, bool aShowDuplicate = false );
|
||||
std::vector<PAD_CS_PRIMITIVE*>& aList, bool aShowDuplicate );
|
||||
|
||||
/**
|
||||
* Apply geometric transform (rotation, move, scale) defined in dialog
|
||||
|
|
Loading…
Reference in New Issue