Eeschema: fix broken symbol exclude from BOM support.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/5284
This commit is contained in:
Wayne Stambaugh 2020-08-22 13:44:55 -04:00
parent c196423192
commit 80ee805782
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ bool NETLIST_EXPORTER_GENERIC::WriteNetlist( const wxString& aOutFileName,
// output the XML format netlist.
wxXmlDocument xdoc;
xdoc.SetRoot( makeRoot( GNL_ALL ) );
xdoc.SetRoot( makeRoot( GNL_ALL | aNetlistOptions ) );
return xdoc.Save( aOutFileName, 2 /* indent bug, today was ignored by wxXml lib */ );
}