Don't require power symbols to be annotated.

Fixes https://gitlab.com/kicad/code/kicad/issues/6112
This commit is contained in:
Jeff Young 2020-10-24 19:45:52 +01:00
parent 66e3e12a9d
commit 1f21a93b39
1 changed files with 2 additions and 1 deletions

View File

@ -261,10 +261,11 @@ void SCH_EDIT_FRAME::AnnotateComponents( bool aAnnotateSchematic,
int SCH_EDIT_FRAME::CheckAnnotate( REPORTER& aReporter, bool aOneSheetOnly )
{
SCH_REFERENCE_LIST componentsList;
constexpr bool includePowerSymbols = false;
// Build the list of components
if( !aOneSheetOnly )
Schematic().GetSheets().GetComponents( componentsList );
Schematic().GetSheets().GetComponents( componentsList, includePowerSymbols );
else
GetCurrentSheet().GetComponents( componentsList );