diff options
Diffstat (limited to 'smtreemodel.cpp')
-rw-r--r-- | smtreemodel.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/smtreemodel.cpp b/smtreemodel.cpp index c8a0452..4f8ffdc 100644 --- a/smtreemodel.cpp +++ b/smtreemodel.cpp @@ -266,10 +266,10 @@ bool SmTreeModel::addRow(const QList<QVariant> &data, const QModelIndex &parent, } QModelIndex start = index(parentItem->childCount() - 1, 0, parent); QModelIndex end = index(parentItem->childCount() - 1, parentItem->columnCount() - 1, parent); - emit dataChanged(start, end); + emit dataChanged(start, end); return true; - } - return false; + } + return false; } SmTreeItem *SmTreeModel::itemAt(const QModelIndex &index) const{ |