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

revert(chatlog): "update workerStb"

This reverts commit 177bf12f11.
This commit is contained in:
Anthony Bilinski 2020-04-04 22:45:41 -07:00
parent 4cd443ae7b
commit 306bbb424e
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C

View File

@ -947,12 +947,10 @@ void ChatLog::onWorkerTimeout()
updateMultiSelectionRect();
// scroll
if (workerStb) {
if (workerStb)
scrollToBottom();
workerStb = false;
} else {
else
scrollToLine(workerAnchorLine);
}
// don't keep a Ptr to the anchor line
workerAnchorLine = ChatLine::Ptr();