diff --git a/eeschema/dialogs/dialog_symbol_fields_table.cpp b/eeschema/dialogs/dialog_symbol_fields_table.cpp index cae5fe55a8..e28b7fdc51 100644 --- a/eeschema/dialogs/dialog_symbol_fields_table.cpp +++ b/eeschema/dialogs/dialog_symbol_fields_table.cpp @@ -2220,6 +2220,10 @@ void DIALOG_SYMBOL_FIELDS_TABLE::OnSchItemsAdded( SCHEMATIC& aSch, { SCH_SYMBOL* symbol = static_cast( item ); + // Don't add power symbols + if( !symbol->IsMissingLibSymbol() && symbol->IsPower() ) + continue; + // Add all fields again in case this symbol has a new one for( SCH_FIELD& field : symbol->GetFields() ) AddField( field.GetCanonicalName(), field.GetName(), true, false, true ); @@ -2287,6 +2291,10 @@ void DIALOG_SYMBOL_FIELDS_TABLE::OnSchItemsChanged( SCHEMATIC& aSch { SCH_SYMBOL* symbol = static_cast( item ); + // Don't add power symbols + if( !symbol->IsMissingLibSymbol() && symbol->IsPower() ) + continue; + // Add all fields again in case this symbol has a new one for( SCH_FIELD& field : symbol->GetFields() ) AddField( field.GetCanonicalName(), field.GetName(), true, false, true );