This commit is contained in:
OMGeeky
2025-06-21 20:24:33 +02:00
parent 21005f1ba6
commit 70cc945010
3 changed files with 7 additions and 6 deletions

View File

@@ -157,8 +157,10 @@ public class UiUtils {
E selectedValue = itemsList.getSelectedValue();
if (selectedValue == null) return;
GameDataElement referencedObj = getReferencedObj.doIt(selectedValue);
ATContentStudio.frame.openEditor(referencedObj);
ATContentStudio.frame.selectInTree(referencedObj);
if (referencedObj != null) {
ATContentStudio.frame.openEditor(referencedObj);
ATContentStudio.frame.selectInTree(referencedObj);
}
}
}
});