Eeschema fix: highlight component from pcbnew doesn't switch sheets

Fixes: lp:1797249
https://bugs.launchpad.net/kicad/+bug/1797249
This commit is contained in:
jean-pierre charras 2018-10-11 11:28:07 +02:00
parent 0dfd0c5f52
commit bea75753dd
1 changed files with 1 additions and 2 deletions

View File

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