From 08e13796713f066ff95da6383fbc8ae85b5a912b Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Tue, 16 Oct 2018 22:54:12 +0100 Subject: [PATCH] Add new sheet pins to view. --- eeschema/sch_edit_frame.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eeschema/sch_edit_frame.cpp b/eeschema/sch_edit_frame.cpp index d0da4c0d5a..2bad600a02 100644 --- a/eeschema/sch_edit_frame.cpp +++ b/eeschema/sch_edit_frame.cpp @@ -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 );