Merge pull request #1141 from ericrosenbaum/feature/extension-id-in-toolbox
Add extension id to toolbox category XML
This commit is contained in:
1 file changed
+1
-1
@@ -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>');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user