mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 10:13:19 +02:00
Fix broken build.
This commit is contained in:
parent
4819487ea2
commit
373d91336b
@ -34,6 +34,11 @@ class DIALOG_PUSH_PAD_PROPERTIES : public DIALOG_PUSH_PAD_PROPERTIES_BASE
|
||||
public:
|
||||
DIALOG_PUSH_PAD_PROPERTIES( PCB_BASE_FRAME* aParent );
|
||||
|
||||
bool GetPadShapeFilter() const { return m_Pad_Shape_Filter_CB->GetValue(); }
|
||||
bool GetPadLayerFilter() const { return m_Pad_Layer_Filter_CB->GetValue(); }
|
||||
bool GetPadOrientFilter() const { return m_Pad_Orient_Filter_CB->GetValue(); }
|
||||
bool GetPadTypeFilter() const { return m_Pad_Type_Filter_CB->GetValue(); }
|
||||
|
||||
private:
|
||||
void PadPropertiesAccept( wxCommandEvent& event ) override;
|
||||
|
||||
|
@ -264,10 +264,8 @@ int PAD_TOOL::pushPadSettings( const TOOL_EVENT& aEvent )
|
||||
BOARD_COMMIT commit( frame() );
|
||||
|
||||
doPushPadProperties( *getModel<BOARD>(), *srcPad, commit, edit_Same_Modules,
|
||||
DIALOG_PUSH_PAD_PROPERTIES::m_Pad_Shape_Filter,
|
||||
DIALOG_PUSH_PAD_PROPERTIES::m_Pad_Orient_Filter,
|
||||
DIALOG_PUSH_PAD_PROPERTIES::m_Pad_Layer_Filter,
|
||||
DIALOG_PUSH_PAD_PROPERTIES::m_Pad_Type_Filter );
|
||||
dlg.GetPadShapeFilter(), dlg.GetPadOrientFilter(),
|
||||
dlg.GetPadLayerFilter(), dlg.GetPadTypeFilter() );
|
||||
|
||||
commit.Push( _( "Push Pad Settings" ) );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user