From bea75753dd5fa26a66d80c1d52780a85b698d577 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Thu, 11 Oct 2018 11:28:07 +0200 Subject: [PATCH] Eeschema fix: highlight component from pcbnew doesn't switch sheets Fixes: lp:1797249 https://bugs.launchpad.net/kicad/+bug/1797249 --- eeschema/find.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/eeschema/find.cpp b/eeschema/find.cpp index e8d4404744..e3420655b4 100644 --- a/eeschema/find.cpp +++ b/eeschema/find.cpp @@ -191,8 +191,7 @@ SCH_ITEM* SCH_EDIT_FRAME::FindComponentAndItem( const wxString& aReference, { sheet->LastScreen()->SetZoom( GetScreen()->GetZoom() ); *m_CurrentSheet = *sheet; - m_CurrentSheet->UpdateAllScreenReferences(); - sheet->LastScreen()->TestDanglingEnds(); + DisplayCurrentSheet(); } wxPoint delta;