eeschema: Insert junctions when repeating

Fixes: lp:1832253
* https://bugs.launchpad.net/kicad/+bug/1832253
This commit is contained in:
Seth Hillbrand 2019-06-18 19:37:51 -07:00
parent ba97494d6f
commit 697234dd51
1 changed files with 9 additions and 2 deletions

View File

@ -898,11 +898,18 @@ void SCH_EDIT_FRAME::RepeatDrawItem()
( (SCH_TEXT*) my_clone )->IncrementLabel( GetRepeatDeltaLabel() );
AddToScreen( my_clone );
SaveCopyInUndoList( my_clone, UR_NEW );
if( my_clone->IsConnectable() )
TestDanglingEnds();
{
PICKED_ITEMS_LIST list;
list.PushItem( ITEM_PICKER( my_clone ) );
CheckListConnections( list, true );
SchematicCleanUp( true );
TestDanglingEnds();
}
SaveCopyInUndoList( my_clone, UR_NEW );
my_clone->ClearFlags();
}