Pcbnew: make global edit pads function compatible with new pads changes and make it undoable.

This commit is contained in:
charras 2009-12-13 11:53:19 +00:00
parent 0893f3f32f
commit 9d839eb86e
1 changed files with 3 additions and 1 deletions

View File

@ -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;