Fix creating a new thread locally

Fix creating a new thread locally. We need to listen for the newThread signal and update the thread root event mode content
This commit is contained in:
James Graham
2025-08-06 18:10:03 +01:00
parent b8fa6f0690
commit 143c685045
4 changed files with 24 additions and 7 deletions

View File

@@ -43,7 +43,7 @@ MessageModel::MessageModel(QObject *parent)
});
connect(this, &MessageModel::threadsEnabledChanged, this, [this]() {
Q_EMIT dataChanged(index(0), index(rowCount() - 1), {ContentModelRole, IsThreadedRole});
Q_EMIT dataChanged(index(0), index(rowCount() - 1), {DelegateTypeRole, ContentModelRole, IsThreadedRole, SpecialMarksRole});
});
}