Footprint wizard frame: Remove an assert message in Debug mode.

This commit is contained in:
jean-pierre charras 2015-09-07 20:25:45 +02:00
parent 3bcda184dd
commit 168940158d
1 changed files with 3 additions and 1 deletions

View File

@ -329,7 +329,9 @@ void FOOTPRINT_WIZARD_FRAME::ReCreateParameterList()
wxArrayString ptList = footprintWizard->GetParameterTypes( page );
// 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() );
wxString value, units;