listboxes.cpp FootprintListBox::m_ActiveFootprint member was not initialized

This commit is contained in:
CHARRAS 2007-12-10 20:57:33 +00:00
parent be015fdf24
commit eb9e1f77be
2 changed files with 8 additions and 0 deletions

View File

@ -4,6 +4,13 @@ Started 2007-June-11
Please add newer entries at the top, list the date and your name with
email address.
2007-Dec-09 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
================================================================================
+cvpcb:
listboxes.cpp FootprintListBox::m_ActiveFootprint member was not initialized.
Can crash cvpcb (WINDOWS only, i believe)
2007-Dec-09 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
================================================================================
+pcbnew:

View File

@ -70,6 +70,7 @@ FootprintListBox::FootprintListBox( WinEDA_CvpcbFrame* parent,
int nbitems, wxString choice[] ) :
ListBoxBase( parent, id, loc, size )
{
m_ActiveFootprintList = NULL;
SetActiveFootprintList( TRUE );
}