netlist xml exporter: fix incorrect keyword change (field was changed to f)
Keywords cannot be changed without a very good reason. the keyword is now field. Fixes #9016 https://gitlab.com/kicad/code/kicad/issues/9016
This commit is contained in:
parent
a3441a969d
commit
9f22baf109
|
@ -210,7 +210,7 @@ void NETLIST_EXPORTER_XML::addSymbolFields( XNODE* aNode, SCH_SYMBOL* aSymbol,
|
|||
// non MANDATORY fields are output alphabetically
|
||||
for( const std::pair<const wxString, wxString>& f : userFields )
|
||||
{
|
||||
XNODE* xfield = node( "f", UnescapeString( f.second ) );
|
||||
XNODE* xfield = node( "field", UnescapeString( f.second ) );
|
||||
xfield->AddAttribute( "name", UnescapeString( f.first ) );
|
||||
xfields->AddChild( xfield );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue