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 177bf12f1150a842e5263eb573fe110fb717ea5a.
This commit is contained in:
Anthony Bilinski 2020-04-04 22:45:41 -07:00
parent 335ce790e9
commit cf76ae0869
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C

View File

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