mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 10:13:19 +02: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 )
|
void onDismiss( wxHyperlinkEvent& aEvent )
|
||||||
{
|
{
|
||||||
CallAfter(
|
CallAfter(
|
||||||
[=]()
|
[this]()
|
||||||
{
|
{
|
||||||
// This will cause this panel to get deleted
|
// This will cause this panel to get deleted
|
||||||
m_manager->Remove( m_notification->key );
|
m_manager->Remove( m_notification->key );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user