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
This commit is contained in:
parent
5b2784f418
commit
45e67950fd
|
@ -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…
Reference in New Issue