summaryrefslogtreecommitdiffstats
path: root/sigmodr/tree/TreeItem.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-05-21 01:33:34 -0400
committerBen Boeckel <MathStuf@gmail.com>2009-05-21 01:33:34 -0400
commit34863901177297d3287d5ef2e8e741fe1e473b0e (patch)
treeb00c912a5ceffe3eb1b8c297578d1ed6642467e3 /sigmodr/tree/TreeItem.cpp
parent0c4ff38814c71545a860a6b8c943d976d276106e (diff)
Actually remove the fhild from the list of children
Diffstat (limited to 'sigmodr/tree/TreeItem.cpp')
-rw-r--r--sigmodr/tree/TreeItem.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/sigmodr/tree/TreeItem.cpp b/sigmodr/tree/TreeItem.cpp
index 3b4a2e2b..23c42b3d 100644
--- a/sigmodr/tree/TreeItem.cpp
+++ b/sigmodr/tree/TreeItem.cpp
@@ -892,6 +892,7 @@ void TreeItem::removeChild(const int child)
break;
}
delete m_children[child];
+ m_children.removeAt(child);
}
const Game* TreeItem::game() const