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.
This commit is contained in:
Seth Hillbrand 2017-11-15 14:12:15 -08:00 committed by jean-pierre charras
parent 41f9c19b7d
commit af8b71ac87
1 changed files with 1 additions and 1 deletions

View File

@ -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 )