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:
parent
46d115faa7
commit
b6d2b2e49f
|
@ -649,7 +649,7 @@ void PCB_EDIT_FRAME::UpdateViaSizeSelectBox( wxChoice* aViaSizeSelectBox, bool a
|
||||||
|
|
||||||
aViaSizeSelectBox->Append( _( "Via: use netclass sizes" ) );
|
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];
|
VIA_DIMENSION viaDimension = GetDesignSettings().m_ViasDimensionsList[ii];
|
||||||
wxString msg, priStr, secStr;
|
wxString msg, priStr, secStr;
|
||||||
|
|
Loading…
Reference in New Issue