Fix crash when opening board setup after zone filler exits
This commit is contained in:
parent
d811ae0aa3
commit
f8e9542004
|
@ -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" ) );
|
||||
} ) );
|
||||
|
|
Loading…
Reference in New Issue