Fix off-by-one error in via sizes.
Fixes https://gitlab.com/kicad/code/kicad/issues/9486
This commit is contained in:
parent
b967610e05
commit
08938463f1
|
@ -279,7 +279,7 @@ DIALOG_TRACK_VIA_PROPERTIES::DIALOG_TRACK_VIA_PROPERTIES( PCB_BASE_FRAME* aParen
|
|||
&& m_viaDiameter.GetValue() == viaDimension->m_Diameter
|
||||
&& m_viaDrill.GetValue() == viaDimension->m_Drill )
|
||||
{
|
||||
viaSelection = ii;
|
||||
viaSelection = ii - 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue