mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Disconnect EDA_DRAW_PANEL_GAL::onShowEvent handler in dtor.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20754
This commit is contained in:
parent
a65fe79551
commit
2b2b7d2232
@ -439,6 +439,8 @@ void EDA_DRAW_PANEL_GAL::StopDrawing()
|
||||
m_refreshTimer.Stop();
|
||||
m_drawingEnabled = false;
|
||||
|
||||
Disconnect( wxEVT_SHOW, wxShowEventHandler( EDA_DRAW_PANEL_GAL::onShowEvent ), nullptr, this );
|
||||
|
||||
Disconnect( wxEVT_PAINT, wxPaintEventHandler( EDA_DRAW_PANEL_GAL::onPaint ), nullptr, this );
|
||||
|
||||
Disconnect( wxEVT_IDLE, wxIdleEventHandler( EDA_DRAW_PANEL_GAL::onIdle ), nullptr, this );
|
||||
|
Loading…
x
Reference in New Issue
Block a user