Fix off-by-one error in via sizes.

Fixes https://gitlab.com/kicad/code/kicad/issues/9486
This commit is contained in:
Jeff Young 2021-10-29 20:40:19 +01:00
parent b967610e05
commit 08938463f1
1 changed files with 1 additions and 1 deletions

View File

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