Browse Source

revert(chatlog): "update workerStb"

This reverts commit 177bf12f11.
reviewable/pr6374/r3
Anthony Bilinski 5 years ago
parent
commit
cf76ae0869
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C
  1. 6
      src/chatlog/chatlog.cpp

6
src/chatlog/chatlog.cpp

@ -933,12 +933,10 @@ void ChatLog::onWorkerTimeout() @@ -933,12 +933,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();

Loading…
Cancel
Save