From 4326e99b083dcbacb42b8798acfafd1950bcf26b Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Wed, 21 Oct 2020 20:32:40 +0200 Subject: [PATCH] Pcbnew: "Select all tracks in net" must select track segments and track arcs. Fixes #6101 https://gitlab.com/kicad/code/kicad/issues/6101 --- 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 e2512dec05..f43f5b5132 100644 --- a/pcbnew/tools/selection_tool.cpp +++ b/pcbnew/tools/selection_tool.cpp @@ -1115,7 +1115,7 @@ void SELECTION_TOOL::selectConnectedTracks( BOARD_CONNECTED_ITEM& aStartItem, void SELECTION_TOOL::selectAllItemsOnNet( int aNetCode, bool aSelect ) { - constexpr KICAD_T types[] = { PCB_TRACE_T, PCB_VIA_T, EOT }; + constexpr KICAD_T types[] = { PCB_TRACE_T, PCB_ARC_T, PCB_VIA_T, EOT }; auto connectivity = board()->GetConnectivity(); for( BOARD_CONNECTED_ITEM* item : connectivity->GetNetItems( aNetCode, types ) )