diff --git a/src/recentmodel.cpp b/src/recentmodel.cpp index 77d7b4fe63faaf43300a9d95832d7d45a1d7319e..bbe08c25b51e3719910060b617762526cb5cc67e 100644 --- a/src/recentmodel.cpp +++ b/src/recentmodel.cpp @@ -574,8 +574,10 @@ void RecentModelPrivate::slotCallAdded(Call* call, Call* parent) q_ptr->beginInsertRows(q_ptr->index(n->m_Index,0), 0, n->m_lChildren.size()); n->m_lChildren.append(callNode); q_ptr->endInsertRows(); - } else // size == 0, only add the child no signal emitted + } else { // size == 0, only add the child, emit dataChanged for the top node n->m_lChildren.append(callNode); + emit q_ptr->dataChanged(q_ptr->index(n->m_Index,0),q_ptr->index(n->m_Index,0)); + } } void RecentModelPrivate::slotUpdate()