Footprint wizard frame: Remove an assert message in Debug mode.
This commit is contained in:
parent
3bcda184dd
commit
168940158d
|
@ -329,7 +329,9 @@ void FOOTPRINT_WIZARD_FRAME::ReCreateParameterList()
|
||||||
wxArrayString ptList = footprintWizard->GetParameterTypes( page );
|
wxArrayString ptList = footprintWizard->GetParameterTypes( page );
|
||||||
|
|
||||||
// Dimension the wxGrid
|
// Dimension the wxGrid
|
||||||
m_parameterGrid->DeleteRows( 0, m_parameterGrid->GetNumberRows() );
|
if( m_parameterGrid->GetNumberRows() > 0 )
|
||||||
|
m_parameterGrid->DeleteRows( 0, m_parameterGrid->GetNumberRows() );
|
||||||
|
|
||||||
m_parameterGrid->AppendRows( fpList.size() );
|
m_parameterGrid->AppendRows( fpList.size() );
|
||||||
|
|
||||||
wxString value, units;
|
wxString value, units;
|
||||||
|
|
Loading…
Reference in New Issue