Don't show netclass placeholders in track & via props dialog.
We have a separate checkbox for that. Fixes https://gitlab.com/kicad/code/kicad/issues/5951
This commit is contained in:
parent
70c3c5c514
commit
1024584cac
|
@ -231,7 +231,8 @@ DIALOG_TRACK_VIA_PROPERTIES::DIALOG_TRACK_VIA_PROPERTIES( PCB_BASE_FRAME* aParen
|
|||
|
||||
int viaSelection = wxNOT_FOUND;
|
||||
|
||||
for( unsigned ii = 0; ii < aParent->GetDesignSettings().m_ViasDimensionsList.size(); ii++ )
|
||||
// 0 is the netclass place-holder
|
||||
for( unsigned ii = 1; ii < aParent->GetDesignSettings().m_ViasDimensionsList.size(); ii++ )
|
||||
{
|
||||
VIA_DIMENSION* viaDimension = &aParent->GetDesignSettings().m_ViasDimensionsList[ii];
|
||||
wxString msg = StringFromValue( m_units, viaDimension->m_Diameter, false )
|
||||
|
@ -282,7 +283,8 @@ DIALOG_TRACK_VIA_PROPERTIES::DIALOG_TRACK_VIA_PROPERTIES( PCB_BASE_FRAME* aParen
|
|||
|
||||
int widthSelection = wxNOT_FOUND;
|
||||
|
||||
for( unsigned ii = 0; ii < aParent->GetDesignSettings().m_TrackWidthList.size(); ii++ )
|
||||
// 0 is the netclass place-holder
|
||||
for( unsigned ii = 1; ii < aParent->GetDesignSettings().m_TrackWidthList.size(); ii++ )
|
||||
{
|
||||
int width = aParent->GetDesignSettings().m_TrackWidthList[ii];
|
||||
wxString msg = StringFromValue( m_units, width, false );
|
||||
|
|
Loading…
Reference in New Issue