schematic: update highlighting when net changed

This commit is contained in:
Mike Williams 2024-04-04 14:10:18 -04:00
parent 92910d5d0f
commit e1548c0f9a
1 changed files with 3 additions and 0 deletions

View File

@ -1889,7 +1889,10 @@ void SCH_EDIT_FRAME::RecalculateConnections( SCH_COMMIT* aCommit, SCH_CLEANUP_FL
{ {
if( m_highlightedConnChanged if( m_highlightedConnChanged
|| !Schematic().ConnectionGraph()->FindFirstSubgraphByName( highlightedConn ) ) || !Schematic().ConnectionGraph()->FindFirstSubgraphByName( highlightedConn ) )
{
GetToolManager()->RunAction( EE_ACTIONS::updateNetHighlighting );
RefreshNetNavigator(); RefreshNetNavigator();
}
m_highlightedConnChanged = false; m_highlightedConnChanged = false;
} }