Gracefully handle no symbols found in change symbols dialog
Fixes KICAD-2BJ
This commit is contained in:
parent
533d7531a1
commit
bb4fb9088f
|
@ -506,7 +506,10 @@ int DIALOG_CHANGE_SYMBOLS::processMatchingSymbols( SCH_COMMIT* aCommit )
|
|||
}
|
||||
}
|
||||
|
||||
if( symbols.size() > 0 )
|
||||
matchesProcessed += processSymbols( aCommit, symbols );
|
||||
else
|
||||
m_messagePanel->Report( _( "*** No symbols matching criteria found ***" ), RPT_SEVERITY_ERROR );
|
||||
|
||||
frame->GetCurrentSheet().UpdateAllScreenReferences();
|
||||
|
||||
|
|
Loading…
Reference in New Issue