7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-18 19:39:17 +00:00

Show net statistics for groups in PCB net inspector panel

This commit is contained in:
JamesJCode 2025-02-08 14:10:53 +00:00
parent 66cbc8127b
commit 9896511485

View File

@ -698,9 +698,9 @@ protected:
{
if( LIST_ITEM* i = static_cast<LIST_ITEM*>( aItem.GetID() ) )
{
if( i->GetIsGroup() )
if( aCol == COLUMN_NAME )
{
if( aCol == COLUMN_NAME )
if( i->GetIsGroup() )
{
switch( i->GetGroupType() )
{
@ -717,13 +717,10 @@ protected:
}
else
{
aOutValue = "";
aOutValue = i->GetNetName();
}
}
else if( aCol == COLUMN_NAME )
aOutValue = i->GetNetName();
else if( aCol == COLUMN_NETCLASS )
aOutValue = i->GetNetclassName();