Skip to content
Snippets Groups Projects
Commit 699985cd authored by Jon Evans's avatar Jon Evans :bike:
Browse files

Check for nested buses when highlighting

Fixes #4531
parent 28a4813c
No related branches found
No related tags found
No related merge requests found
Pipeline #149136440 passed
......@@ -949,6 +949,17 @@ int SCH_EDITOR_CONTROL::UpdateNetHighlighting( const TOOL_EVENT& aEvent )
highlight = true;
break;
}
else if( member->IsBus() )
{
for( auto& child_member : member->Members() )
{
if( child_member->Name() == itemConn->Name() )
{
highlight = true;
break;
}
}
}
}
}
else if( selectedConn && itemConn && selectedName == itemConn->Name() )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment