1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix: update workerStb

This commit is contained in:
TriKriSta 2019-08-23 16:48:21 +03:00 committed by Anthony Bilinski
parent 6de307e6b9
commit 177bf12f11
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C

View File

@ -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();