diff --git a/eeschema/dialogs/dialog_symbol_fields_table.cpp b/eeschema/dialogs/dialog_symbol_fields_table.cpp index e28b7fdc51..c17d20d8f6 100644 --- a/eeschema/dialogs/dialog_symbol_fields_table.cpp +++ b/eeschema/dialogs/dialog_symbol_fields_table.cpp @@ -1510,7 +1510,9 @@ void DIALOG_SYMBOL_FIELDS_TABLE::syncBomPresetSelection() if( !( preset.sortAsc == current.sortAsc && preset.filterString == current.filterString && preset.groupSymbols == current.groupSymbols - && preset.excludeDNP == current.excludeDNP ) ) + && preset.excludeDNP == current.excludeDNP + && preset.includeExcludedFromBOM + == current.includeExcludedFromBOM ) ) { return false; } diff --git a/eeschema/fields_data_model.cpp b/eeschema/fields_data_model.cpp index 75ed29c8fa..f024a640ec 100644 --- a/eeschema/fields_data_model.cpp +++ b/eeschema/fields_data_model.cpp @@ -871,6 +871,7 @@ BOM_PRESET FIELDS_EDITOR_GRID_DATA_MODEL::GetBomSettings() current.filterString = GetFilter(); current.groupSymbols = GetGroupingEnabled(); current.excludeDNP = GetExcludeDNP(); + current.includeExcludedFromBOM = GetIncludeExcludedFromBOM(); return current; }