summaryrefslogtreecommitdiffstats
path: root/sigmodr/tree/TreeModel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sigmodr/tree/TreeModel.cpp')
-rw-r--r--sigmodr/tree/TreeModel.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/sigmodr/tree/TreeModel.cpp b/sigmodr/tree/TreeModel.cpp
index 3f0884f2..879d56d3 100644
--- a/sigmodr/tree/TreeModel.cpp
+++ b/sigmodr/tree/TreeModel.cpp
@@ -110,8 +110,6 @@ int TreeModel::rowCount(const QModelIndex& parent) const
{
if (!parent.isValid())
return 0;
- if (0 < parent.column())
- return 0;
return static_cast<TreeItem*>(parent.internalPointer())->childCount();
}