From d284fb87e849ca2b3c7193fdefdc0dab01e77647 Mon Sep 17 00:00:00 2001 From: Marco Sterbik Date: Wed, 22 Feb 2017 13:17:11 +0100 Subject: [PATCH] Change reporter message of footprint missmatch to warning on netlist-import The message of a changed footprint during netlist-import in pcbnew was declared as RPT_UNDFINED and therefor the filter didn't work correctly ('Warning' was in the message-string). This makes the message a proper warning and enables filtering as expected. --- pcbnew/netlist.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcbnew/netlist.cpp b/pcbnew/netlist.cpp index a8108f28a9..5ceb8cfe20 100644 --- a/pcbnew/netlist.cpp +++ b/pcbnew/netlist.cpp @@ -273,11 +273,11 @@ void PCB_EDIT_FRAME::LoadFootprints( NETLIST& aNetlist, REPORTER* aReporter ) { if( aReporter ) { - msg.Printf( _( "* Warning: component '%s': board footprint '%s', netlist footprint '%s'\n" ), + msg.Printf( _( "Footprint of component '%s' changed: board footprint '%s', netlist footprint '%s'\n" ), GetChars( component->GetReference() ), GetChars( fpOnBoard->GetFPID().Format() ), GetChars( component->GetFPID().Format() ) ); - aReporter->Report( msg ); + aReporter->Report( msg, REPORTER::RPT_WARNING ); } continue;