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
parent e2efe443fe
commit dedbd184b0

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