Get rid of shadowing warning
This commit is contained in:
parent
12b7e68703
commit
41ca2789a6
|
@ -269,8 +269,8 @@ int ZONE_FILLER_TOOL::ZoneFillDirty( const TOOL_EVENT& aEvent )
|
|||
wxHyperlinkCtrl* button = new wxHyperlinkCtrl( infobar, wxID_ANY, _( "Open Preferences" ),
|
||||
wxEmptyString );
|
||||
|
||||
button->Bind( wxEVT_COMMAND_HYPERLINK, std::function<void( wxHyperlinkEvent& aEvent )>(
|
||||
[this]( wxHyperlinkEvent& aEvent )
|
||||
button->Bind( wxEVT_COMMAND_HYPERLINK, std::function<void( wxHyperlinkEvent& )>(
|
||||
[this]( wxHyperlinkEvent& )
|
||||
{
|
||||
getEditFrame<PCB_EDIT_FRAME>()->ShowPreferences( _( "Editing Options" ),
|
||||
_( "PCB Editor" ) );
|
||||
|
|
Loading…
Reference in New Issue