Add new sheet pins to view.

This commit is contained in:
Jeff Young 2018-10-16 22:54:12 +01:00
parent 6e3f226e45
commit 08e1379671
1 changed files with 3 additions and 3 deletions

View File

@ -1388,11 +1388,11 @@ void SCH_EDIT_FRAME::addCurrentItemToScreen()
SetSheetNumberAndCount();
}
if( !screen->CheckIfOnDrawList( item ) ) // don't want a loop!
AddToScreen( item );
if( undoItem == item )
{
if( !screen->CheckIfOnDrawList( item ) ) // don't want a loop!
AddToScreen( item );
SetRepeatItem( item );
SaveCopyInUndoList( undoItem, UR_NEW );