mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-04 15:14:49 +00:00
various small fixes
This commit is contained in:
@@ -538,6 +538,10 @@ public class View {
|
||||
|
||||
public static TreePath getTreePathByPathStrings(JTree tree, List<String> pathAsStringList) {
|
||||
TreeModel model = tree.getModel();
|
||||
if (model == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Object node = model.getRoot();
|
||||
|
||||
if (pathAsStringList.isEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user