From dedbd184b0df6bc708a2274231d288dae2f22c81 Mon Sep 17 00:00:00 2001 From: TriKriSta Date: Fri, 23 Aug 2019 16:48:21 +0300 Subject: [PATCH] fix: update workerStb --- src/chatlog/chatlog.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/chatlog/chatlog.cpp b/src/chatlog/chatlog.cpp index 6258a2f39..face3aa8d 100644 --- a/src/chatlog/chatlog.cpp +++ b/src/chatlog/chatlog.cpp @@ -936,10 +936,12 @@ void ChatLog::onWorkerTimeout() updateMultiSelectionRect(); // scroll - if (workerStb) + if (workerStb) { scrollToBottom(); - else + workerStb = false; + } else { scrollToLine(workerAnchorLine); + } // don't keep a Ptr to the anchor line workerAnchorLine = ChatLine::Ptr();