From 5d05b1212b86af9fe1054faaa4c252aa85034b95 Mon Sep 17 00:00:00 2001 From: Jack Date: Mon, 12 Jul 2021 00:50:40 +0100 Subject: [PATCH] fixed presets not showing up in the command line --- src/js/commandline.js | 1 + 1 file changed, 1 insertion(+) 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;