mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-11 16:10:10 +00:00
Lambda capture this for a callafter
This commit is contained in:
parent
6c17e275fb
commit
5087c076c1
@ -132,7 +132,7 @@ private:
|
||||
void onDismiss( wxHyperlinkEvent& aEvent )
|
||||
{
|
||||
CallAfter(
|
||||
[=]()
|
||||
[this]()
|
||||
{
|
||||
// This will cause this panel to get deleted
|
||||
m_manager->Remove( m_notification->key );
|
||||
|
Loading…
Reference in New Issue
Block a user