Browse Source

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

pull/7/head
jean-pierre charras 10 years ago
parent
commit
168940158d
  1. 4
      pcbnew/footprint_wizard_frame.cpp

4
pcbnew/footprint_wizard_frame.cpp

@ -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;

Loading…
Cancel
Save