eeschema: Check for dangling ends when switching sheets

When you search for an item that exists on a separate sheet in the
schematic, the newly loaded schematic sheet needs to have the dangling
flags set so that we don't have a mess of non-connected "o" markers.
This commit is contained in:
Seth Hillbrand 2018-04-07 11:15:10 -07:00
parent 72238e260a
commit fb9ccd855d
1 changed files with 1 additions and 0 deletions

View File

@ -475,6 +475,7 @@ void SCH_EDIT_FRAME::updateFindReplaceView( wxFindDialogEvent& aEvent )
*m_CurrentSheet = *sheet;
m_CurrentSheet->UpdateAllScreenReferences();
SetScreen( sheet->LastScreen() );
sheet->LastScreen()->TestDanglingEnds();
}
// careful here