From e94f356ad5ac5236454fd42c3697051f3ed60fe3 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Wed, 5 Feb 2020 14:14:50 -0600 Subject: [PATCH] pcbnew: Correct stop condition for expand Typo in selection tool caused expansion past vias. --- pcbnew/tools/selection_tool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/tools/selection_tool.cpp b/pcbnew/tools/selection_tool.cpp index 2af8e8c3d0..6bc5a39bfa 100644 --- a/pcbnew/tools/selection_tool.cpp +++ b/pcbnew/tools/selection_tool.cpp @@ -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 selectedItems = m_selection.GetItems();