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76hrZ+jwAfwvtwaEw3tYqeP+An4wnUD
-
As a quick workaround (because I couldn't figure out how to solve it properly) I've added a
getChildComponents
function that can be used to iterate over the children of a panel and toggle their enabled state manually. This is probably also a useful function to have for other things too.for (x in myPanel.getChildComponents()) x.set("enabled", true);