Pcbnew: make global edit pads function compatible with new pads changes and make it undoable.
This commit is contained in:
parent
0893f3f32f
commit
9d839eb86e
|
@ -57,12 +57,14 @@ DIALOG_GLOBAL_PADS_EDITION::DIALOG_GLOBAL_PADS_EDITION(
|
||||||
m_Pad_Layer_Filter_CB->SetValue( m_Pad_Layer_Filter );
|
m_Pad_Layer_Filter_CB->SetValue( m_Pad_Layer_Filter );
|
||||||
m_Pad_Orient_Filter_CB->SetValue( m_Pad_Orient_Filter );
|
m_Pad_Orient_Filter_CB->SetValue( m_Pad_Orient_Filter );
|
||||||
|
|
||||||
|
SetFocus();
|
||||||
|
|
||||||
GetSizer()->Fit( this );
|
GetSizer()->Fit( this );
|
||||||
Centre();
|
Centre();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*Class DIALOG_GLOBAL_PADS_EDITION static variables */
|
/* Class DIALOG_GLOBAL_PADS_EDITION static variables */
|
||||||
bool DIALOG_GLOBAL_PADS_EDITION::m_Pad_Shape_Filter = true;
|
bool DIALOG_GLOBAL_PADS_EDITION::m_Pad_Shape_Filter = true;
|
||||||
bool DIALOG_GLOBAL_PADS_EDITION::m_Pad_Layer_Filter = true;
|
bool DIALOG_GLOBAL_PADS_EDITION::m_Pad_Layer_Filter = true;
|
||||||
bool DIALOG_GLOBAL_PADS_EDITION::m_Pad_Orient_Filter = true;
|
bool DIALOG_GLOBAL_PADS_EDITION::m_Pad_Orient_Filter = true;
|
||||||
|
|
Loading…
Reference in New Issue