diff --git a/src/js/commandline.js b/src/js/commandline.js index b1eb9851b..16716e966 100644 --- a/src/js/commandline.js +++ b/src/js/commandline.js @@ -242,6 +242,7 @@ function addChildCommands( commandItemDisplay = parentCommandDisplay + " > " + icon + commandItemDisplay; if (commandItem.subgroup) { + if (commandItem.beforeSubgroup) commandItem.beforeSubgroup(); try { commandItem.subgroup.list.forEach((cmd) => { commandItem.configKey = commandItem.subgroup.configKey;