Commit 9d839eb8 authored by charras's avatar charras

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

parent 0893f3f3
...@@ -57,12 +57,14 @@ DIALOG_GLOBAL_PADS_EDITION::DIALOG_GLOBAL_PADS_EDITION( ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment