mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 18:23:15 +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:
|
public:
|
||||||
DIALOG_PUSH_PAD_PROPERTIES( PCB_BASE_FRAME* aParent );
|
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:
|
private:
|
||||||
void PadPropertiesAccept( wxCommandEvent& event ) override;
|
void PadPropertiesAccept( wxCommandEvent& event ) override;
|
||||||
|
|
||||||
|
@ -264,10 +264,8 @@ int PAD_TOOL::pushPadSettings( const TOOL_EVENT& aEvent )
|
|||||||
BOARD_COMMIT commit( frame() );
|
BOARD_COMMIT commit( frame() );
|
||||||
|
|
||||||
doPushPadProperties( *getModel<BOARD>(), *srcPad, commit, edit_Same_Modules,
|
doPushPadProperties( *getModel<BOARD>(), *srcPad, commit, edit_Same_Modules,
|
||||||
DIALOG_PUSH_PAD_PROPERTIES::m_Pad_Shape_Filter,
|
dlg.GetPadShapeFilter(), dlg.GetPadOrientFilter(),
|
||||||
DIALOG_PUSH_PAD_PROPERTIES::m_Pad_Orient_Filter,
|
dlg.GetPadLayerFilter(), dlg.GetPadTypeFilter() );
|
||||||
DIALOG_PUSH_PAD_PROPERTIES::m_Pad_Layer_Filter,
|
|
||||||
DIALOG_PUSH_PAD_PROPERTIES::m_Pad_Type_Filter );
|
|
||||||
|
|
||||||
commit.Push( _( "Push Pad Settings" ) );
|
commit.Push( _( "Push Pad Settings" ) );
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user