Fix inital predefined track width selection in track properties dialog
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8578
This commit is contained in:
parent
9411d301a0
commit
410dbe17de
|
@ -308,7 +308,7 @@ DIALOG_TRACK_VIA_PROPERTIES::DIALOG_TRACK_VIA_PROPERTIES( PCB_BASE_FRAME* aParen
|
|||
m_DesignRuleWidthsCtrl->Append( msg );
|
||||
|
||||
if( widthSelection == wxNOT_FOUND && m_trackWidth.GetValue() == width )
|
||||
widthSelection = ii;
|
||||
widthSelection = ii - 1;
|
||||
}
|
||||
|
||||
m_DesignRuleWidthsCtrl->SetSelection( widthSelection );
|
||||
|
|
Loading…
Reference in New Issue