From af8b71ac879c221099fb135f731dabe6f9f72017 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Wed, 15 Nov 2017 14:12:15 -0800 Subject: [PATCH] Eeschema: Fix bug in block selector The block selector needs to add all connected items to the block. Lines marked skip should not affect the next item tested. --- eeschema/sch_screen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/sch_screen.cpp b/eeschema/sch_screen.cpp index eb64746a67..a6c1389302 100644 --- a/eeschema/sch_screen.cpp +++ b/eeschema/sch_screen.cpp @@ -832,10 +832,10 @@ void SCH_SCREEN::addConnectedItemsToBlock( const wxPoint& position ) { SCH_ITEM* item; ITEM_PICKER picker; - bool addinlist = true; for( item = m_drawList.begin(); item; item = item->Next() ) { + bool addinlist = true; picker.SetItem( item ); if( !item->IsConnectable() || !item->IsConnected( position )