Fix crash when opening board setup after zone filler exits

This commit is contained in:
Jon Evans 2021-06-18 12:18:28 -04:00
parent d811ae0aa3
commit f8e9542004
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ void ZONE_FILLER_TOOL::FillAllZones( wxWindow* aCaller, PROGRESS_REPORTER* aRepo
button->Bind( wxEVT_COMMAND_HYPERLINK,
std::function<void( wxHyperlinkEvent& aEvent )>(
[&]( wxHyperlinkEvent& aEvent )
[frame]( wxHyperlinkEvent& aEvent )
{
frame->ShowBoardSetupDialog( _( "Rules" ) );
} ) );