Allow only updating reference links during back-annotation

Fixes https://gitlab.com/kicad/code/kicad/-/issues/7190
This commit is contained in:
Roberto Fernandez Bautista 2021-01-19 23:15:47 +00:00 committed by Seth Hillbrand
parent ab8bd8f8c7
commit 4f0accb714
1 changed files with 2 additions and 1 deletions

View File

@ -65,7 +65,8 @@ bool BACK_ANNOTATE::BackAnnotateSymbols( const std::string& aNetlist )
m_appendUndo = false;
wxString msg;
if( !m_processValues && !m_processFootprints && !m_processReferences && !m_processNetNames )
if( !m_matchByReference && !m_processValues && !m_processFootprints && !m_processReferences
&& !m_processNetNames )
{
m_reporter.ReportTail( _( "Select at least one property to back annotate." ),
RPT_SEVERITY_ERROR );