Browse Source

fix: update workerStb

reviewable/pr5793/r3
TriKriSta 6 years ago
parent
commit
dedbd184b0
  1. 6
      src/chatlog/chatlog.cpp

6
src/chatlog/chatlog.cpp

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

Loading…
Cancel
Save