forked from j62/ctbrec
Expand navigation tree, when GUI is created
This commit is contained in:
parent
64569f83ab
commit
dfb0ce869a
|
@ -216,6 +216,7 @@ public class SettingsTab2 extends Tab implements TabSelectionListener {
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
setContent(prefs.getView());
|
setContent(prefs.getView());
|
||||||
|
prefs.expandTree();
|
||||||
}
|
}
|
||||||
|
|
||||||
private List<String> getTabNames() {
|
private List<String> getTabNames() {
|
||||||
|
|
|
@ -182,4 +182,8 @@ public class Preferences {
|
||||||
}
|
}
|
||||||
return parent;
|
return parent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void expandTree() {
|
||||||
|
expandAll(categoryTree.getRoot());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue