Browse Source

fix: update workerStb

reviewable/pr5800/r3
TriKriSta 6 years ago committed by Anthony Bilinski
parent
commit
177bf12f11
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C
  1. 6
      src/chatlog/chatlog.cpp

6
src/chatlog/chatlog.cpp

@ -936,10 +936,12 @@ void ChatLog::onWorkerTimeout()
updateMultiSelectionRect(); updateMultiSelectionRect();
// scroll // scroll
if (workerStb) if (workerStb) {
scrollToBottom(); scrollToBottom();
else workerStb = false;
} 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();

Loading…
Cancel
Save