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:
parent
0dfd0c5f52
commit
bea75753dd
|
@ -191,8 +191,7 @@ SCH_ITEM* SCH_EDIT_FRAME::FindComponentAndItem( const wxString& aReference,
|
||||||
{
|
{
|
||||||
sheet->LastScreen()->SetZoom( GetScreen()->GetZoom() );
|
sheet->LastScreen()->SetZoom( GetScreen()->GetZoom() );
|
||||||
*m_CurrentSheet = *sheet;
|
*m_CurrentSheet = *sheet;
|
||||||
m_CurrentSheet->UpdateAllScreenReferences();
|
DisplayCurrentSheet();
|
||||||
sheet->LastScreen()->TestDanglingEnds();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
wxPoint delta;
|
wxPoint delta;
|
||||||
|
|
Loading…
Reference in New Issue