diff options
Diffstat (limited to 'libjava/classpath/javax/swing/tree/DefaultTreeModel.java')
-rw-r--r-- | libjava/classpath/javax/swing/tree/DefaultTreeModel.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libjava/classpath/javax/swing/tree/DefaultTreeModel.java b/libjava/classpath/javax/swing/tree/DefaultTreeModel.java index 5b5e0391478..5cf80986061 100644 --- a/libjava/classpath/javax/swing/tree/DefaultTreeModel.java +++ b/libjava/classpath/javax/swing/tree/DefaultTreeModel.java @@ -299,6 +299,7 @@ public class DefaultTreeModel public void insertNodeInto(MutableTreeNode newChild, MutableTreeNode parent, int index) { + newChild.setParent(parent); parent.insert(newChild, index); int[] childIndices = new int[1]; childIndices[0] = index; |