Commit d7c8d986 authored by Oleg Solovyov's avatar Oleg Solovyov 🐴
Browse files

ChatMessagePart: return if view() is nullptr

BUG: 436513
parent ec24d08f
......@@ -1262,6 +1262,10 @@ void ChatMessagePart::changeStyle()
#ifdef STYLE_TIMETEST
QTime beforeChange = QTime::currentTime();
#endif
if (!view()) {
return;
}
// Make latestContact null to reset consecutives messages.
d->latestContact = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment