7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-11 14:20:10 +00:00

Show the correct footprint name on footprint filter mismatch ERC warning.

The lower case variant used for internal comparison was being used which
is confusing because it doesn't match the footprint name capitalization.
This commit is contained in:
Wayne Stambaugh 2025-02-27 09:48:13 -05:00
parent ba85c54f81
commit a9cea9fbb7

View File

@ -1633,7 +1633,7 @@ int ERC_TESTER::TestFootprintFilters()
{
std::shared_ptr<ERC_ITEM> ercItem = ERC_ITEM::Create( ERCE_FOOTPRINT_LINK_ISSUES );
msg.Printf( _( "Assigned footprint (%s) doesn't match footprint filters (%s)." ),
lowerItemName,
footprint.GetUniStringLibItemName(),
wxJoin( filters, ' ' ) );
ercItem->SetErrorMessage( msg );
ercItem->SetItems( sch_symbol );