Clearer warning about not back-annotating footprint deletes.

Fixes https://gitlab.com/kicad/code/kicad/issues/6521
This commit is contained in:
Jeff Young 2020-11-26 19:29:50 +00:00
parent 06b9439dbf
commit 13c63e3a50
1 changed files with 4 additions and 2 deletions

View File

@ -285,9 +285,11 @@ void BACK_ANNOTATE::checkForUnusedSymbols()
if( ref.GetSymbol()->GetIncludeOnBoard() ) if( ref.GetSymbol()->GetIncludeOnBoard() )
{ {
wxString msg = wxString::Format( _( "Cannot find footprint for symbol '%s'." ), wxString msg = wxString::Format( _( "Footprint '%s' is not present on PCB. "
"Corresponding symbols in schematic must be "
"manually deleted (if desired)." ),
m_refs[i++].GetFullRef() ); m_refs[i++].GetFullRef() );
m_reporter.ReportTail( msg, RPT_SEVERITY_ERROR ); m_reporter.ReportTail( msg, RPT_SEVERITY_WARNING );
} }
} }