pcbnew: Correct stop condition for expand

Typo in selection tool caused expansion past vias.
This commit is contained in:
Seth Hillbrand 2020-02-05 14:14:50 -06:00
parent 6b3fdf2d15
commit e94f356ad5
1 changed files with 1 additions and 1 deletions

View File

@ -792,7 +792,7 @@ int SELECTION_TOOL::expandConnection( const TOOL_EVENT& aEvent )
if( initialCount == 0 )
selectCursor( true, connectedItemFilter );
for( KICAD_T stopCondition : { SCH_JUNCTION_T, PCB_PAD_T, EOT } )
for( KICAD_T stopCondition : { PCB_VIA_T, PCB_PAD_T, EOT } )
{
// copy the selection, since we're going to iterate and modify
std::deque<EDA_ITEM*> selectedItems = m_selection.GetItems();