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:
parent
72238e260a
commit
fb9ccd855d
|
@ -475,6 +475,7 @@ void SCH_EDIT_FRAME::updateFindReplaceView( wxFindDialogEvent& aEvent )
|
||||||
*m_CurrentSheet = *sheet;
|
*m_CurrentSheet = *sheet;
|
||||||
m_CurrentSheet->UpdateAllScreenReferences();
|
m_CurrentSheet->UpdateAllScreenReferences();
|
||||||
SetScreen( sheet->LastScreen() );
|
SetScreen( sheet->LastScreen() );
|
||||||
|
sheet->LastScreen()->TestDanglingEnds();
|
||||||
}
|
}
|
||||||
|
|
||||||
// careful here
|
// careful here
|
||||||
|
|
Loading…
Reference in New Issue