Commit 8af67b42 authored by yannick legoc's avatar yannick legoc

Corrected instance finder

parent 7ebf0e7d
......@@ -152,8 +152,9 @@ public class HierarchyCell extends CheckBoxTreeCell<Component> {
public void handle(ActionEvent event) {
int instance = instanceBox.getSelectionModel().getSelectedItem();
Component component = Nomad3DEditor.getInstance().getModel().findComponentInstance(componentName, instance);
// Select the component found.
component.getTreeItem().selectedProperty().set(true);
// Close the stage.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment