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:
parent
e2efe443fe
commit
dedbd184b0
|
@ -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…
Reference in New Issue
Block a user