Commit 5577c8d0 authored by legoc's avatar legoc

Correction of tree item text refresh

parent 4cd67e8d
......@@ -280,9 +280,13 @@ public class EditorMenuBar extends MenuBar {
return;
}
else if (option.get() == ButtonType.OK) {
// Reset the mergeable components.
Nomad3DEditor.getInstance().getModel().getRoot().setMergeable();
// Save the viewer file.
Nomad3DExporter exporter = new Nomad3DExporter();
exporter.writeForViewer(Nomad3DEditor.getInstance().getModel(), hideBBDiagonal);
exporter.writeForViewer(Nomad3DEditor.getInstance().getModel(), hideBBDiagonal);
}
}
}
......
......@@ -238,6 +238,9 @@ public class HierarchyCell extends CheckBoxTreeCell<Component> {
};
component.axisProperty().addListener(listener);
// It seems to be important to trigger for the first time.
component.setAxisProperty();
}
}
......
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