Add extension id to toolbox category XML

This commit is contained in:
Eric Rosenbaum 2018-05-10 15:41:44 -04:00
parent b7f3a06fa0
commit bdda3bc2c9

View file

@ -839,7 +839,7 @@ class Runtime extends EventEmitter {
const menuIconXML = menuIconURI ?
`iconURI="${menuIconURI}"` : '';
xmlParts.push(`<category name="${name}" ${colorXML} ${menuIconXML}>`);
xmlParts.push(`<category name="${name}" id="${categoryInfo.id}" ${colorXML} ${menuIconXML}>`);
xmlParts.push.apply(xmlParts, paletteBlocks.map(block => block.xml));
xmlParts.push('</category>');
}