Expand navigation tree, when GUI is created

This commit is contained in:
0xboobface 2020-07-05 14:25:17 +02:00
parent 64569f83ab
commit dfb0ce869a
2 changed files with 5 additions and 0 deletions

View File

@ -216,6 +216,7 @@ public class SettingsTab2 extends Tab implements TabSelectionListener {
)
);
setContent(prefs.getView());
prefs.expandTree();
}
private List<String> getTabNames() {

View File

@ -182,4 +182,8 @@ public class Preferences {
}
return parent;
}
public void expandTree() {
expandAll(categoryTree.getRoot());
}
}