symbol fields table: remember includeExcludedFromBOm correctly
This commit is contained in:
parent
a8daa38e83
commit
cc350cf279
|
@ -1510,7 +1510,9 @@ void DIALOG_SYMBOL_FIELDS_TABLE::syncBomPresetSelection()
|
||||||
if( !( preset.sortAsc == current.sortAsc
|
if( !( preset.sortAsc == current.sortAsc
|
||||||
&& preset.filterString == current.filterString
|
&& preset.filterString == current.filterString
|
||||||
&& preset.groupSymbols == current.groupSymbols
|
&& preset.groupSymbols == current.groupSymbols
|
||||||
&& preset.excludeDNP == current.excludeDNP ) )
|
&& preset.excludeDNP == current.excludeDNP
|
||||||
|
&& preset.includeExcludedFromBOM
|
||||||
|
== current.includeExcludedFromBOM ) )
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -871,6 +871,7 @@ BOM_PRESET FIELDS_EDITOR_GRID_DATA_MODEL::GetBomSettings()
|
||||||
current.filterString = GetFilter();
|
current.filterString = GetFilter();
|
||||||
current.groupSymbols = GetGroupingEnabled();
|
current.groupSymbols = GetGroupingEnabled();
|
||||||
current.excludeDNP = GetExcludeDNP();
|
current.excludeDNP = GetExcludeDNP();
|
||||||
|
current.includeExcludedFromBOM = GetIncludeExcludedFromBOM();
|
||||||
|
|
||||||
return current;
|
return current;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue