diff --git a/src/main/java/jace/config/ConfigurationUIController.java b/src/main/java/jace/config/ConfigurationUIController.java index 0f111e9..514297c 100644 --- a/src/main/java/jace/config/ConfigurationUIController.java +++ b/src/main/java/jace/config/ConfigurationUIController.java @@ -99,6 +99,16 @@ public class ConfigurationUIController { String current = getCurrentNodePath(); getExpandedNodes("", deviceTree.getRoot(), expanded); deviceTree.setRoot(Configuration.BASE); + for (ConfigNode node : Configuration.BASE.getChildren()) { + String prefix = node.name; + expanded.add(prefix); + for (ConfigNode child : node.getChildren()) { + expanded.add(prefix + DELIMITER + child.toString()); + for (ConfigNode grandchild : node.getChildren()) { + expanded.add(prefix + DELIMITER + child.toString() + DELIMITER + grandchild.toString()); + } + } + } setExpandedNodes("", deviceTree.getRoot(), expanded); setCurrentNodePath(current); }