Test for dangling pins after symbol is edited
Fixes: lp:1562897 * https://bugs.launchpad.net/kicad/+bug/1562897
This commit is contained in:
parent
f46961d003
commit
a72d32d3fd
|
@ -588,6 +588,7 @@ public:
|
|||
enum MARKER_BASE::MARKER_SEVERITY aSeverity );
|
||||
|
||||
void UpdateSymbolLinks();
|
||||
void TestDanglingEnds();
|
||||
|
||||
private:
|
||||
void AddScreenToList( SCH_SCREEN* aScreen );
|
||||
|
|
|
@ -1448,6 +1448,7 @@ void LIB_EDIT_FRAME::refreshSchematic()
|
|||
SCH_SCREENS schematic;
|
||||
|
||||
schematic.UpdateSymbolLinks();
|
||||
schematic.TestDanglingEnds();
|
||||
|
||||
// There may be no parent window so use KIWAY message to refresh the schematic editor
|
||||
// in case any symbols have changed.
|
||||
|
|
|
@ -1522,6 +1522,13 @@ void SCH_SCREENS::UpdateSymbolLinks()
|
|||
}
|
||||
|
||||
|
||||
void SCH_SCREENS::TestDanglingEnds()
|
||||
{
|
||||
for( SCH_SCREEN* screen = GetFirst(); screen; screen = GetNext() )
|
||||
screen->TestDanglingEnds();
|
||||
}
|
||||
|
||||
|
||||
#if defined(DEBUG)
|
||||
void SCH_SCREEN::Show( int nestLevel, std::ostream& os ) const
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue