From 1aad91944ee8cad86b124f65531948e7bf186bb5 Mon Sep 17 00:00:00 2001 From: bodwok Date: Tue, 7 Apr 2020 19:58:00 +0300 Subject: [PATCH] fix(chatlog): fixed rendering of new messages when scrolling up --- src/chatlog/chatlog.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/chatlog/chatlog.cpp b/src/chatlog/chatlog.cpp index 8cb493b70..35da7f38b 100644 --- a/src/chatlog/chatlog.cpp +++ b/src/chatlog/chatlog.cpp @@ -410,6 +410,8 @@ void ChatLog::insertChatlineAtBottom(const QList& newLines) // redo layout only when scrolled down if(stickToBottom()) { startResizeWorker(true); + } else { + updateSceneRect(); } }