Fix broken build.

This commit is contained in:
Jeff Young 2025-08-08 14:17:35 +01:00
parent 4819487ea2
commit 373d91336b
2 changed files with 7 additions and 4 deletions

View File

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

View File

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