mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 10:13:19 +02:00
Unset PCM button to avoid crash on close.
This commit is contained in:
parent
a92ac0ea99
commit
6a003b94d6
@ -43,6 +43,8 @@ PANEL_KICAD_LAUNCHER::PANEL_KICAD_LAUNCHER( wxWindow* aParent ) :
|
|||||||
|
|
||||||
PANEL_KICAD_LAUNCHER::~PANEL_KICAD_LAUNCHER()
|
PANEL_KICAD_LAUNCHER::~PANEL_KICAD_LAUNCHER()
|
||||||
{
|
{
|
||||||
|
m_frame->SetPcmButton( nullptr );
|
||||||
|
|
||||||
for( wxWindow* window : m_scrolledWindow->GetChildren() )
|
for( wxWindow* window : m_scrolledWindow->GetChildren() )
|
||||||
{
|
{
|
||||||
if( dynamic_cast<BITMAP_BUTTON*>( window ) != nullptr )
|
if( dynamic_cast<BITMAP_BUTTON*>( window ) != nullptr )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user