Pcbnew, aux toolbar, combobox via selector: do not show the via with size 0.

this line must be skipped as it is a placeholder.
This commit is contained in:
jean-pierre charras 2020-10-15 15:31:23 +02:00
parent 46d115faa7
commit b6d2b2e49f
1 changed files with 1 additions and 1 deletions

View File

@ -649,7 +649,7 @@ void PCB_EDIT_FRAME::UpdateViaSizeSelectBox( wxChoice* aViaSizeSelectBox, bool a
aViaSizeSelectBox->Append( _( "Via: use netclass sizes" ) );
for( unsigned ii = 0; ii < GetDesignSettings().m_ViasDimensionsList.size(); ii++ )
for( unsigned ii = 1; ii < GetDesignSettings().m_ViasDimensionsList.size(); ii++ )
{
VIA_DIMENSION viaDimension = GetDesignSettings().m_ViasDimensionsList[ii];
wxString msg, priStr, secStr;