Browse Source

Schematic: fix global labels overriding wrong power symbols

Need to check pin netname now that we support changing the value of the
power symbol.

Fixes: https://gitlab.com/kicad/code/kicad/-/issues/14076
newinvert
Mike Williams 3 years ago
parent
commit
45e67950fd
  1. 3
      eeschema/connection_graph.cpp

3
eeschema/connection_graph.cpp

@ -1308,7 +1308,8 @@ void CONNECTION_GRAPH::processSubGraphs()
{
auto pin = static_cast<SCH_PIN*>( driver );
if( pin->IsGlobalPower() && pin->GetShownName() == test_name )
if( pin->IsGlobalPower()
&& pin->GetDefaultNetName( sheet ) == test_name )
{
match = true;
break;

Loading…
Cancel
Save