mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-28 00:42:19 -07:00
[Chat] Scroll chat view to bottom when loading chat history (#2725)
Took 4 minutes Took 38 seconds
This commit is contained in:
parent
c4316c40e9
commit
15123ed0d2
1 changed files with 1 additions and 1 deletions
|
|
@ -326,7 +326,7 @@ void ChatView::appendMessage(QString message,
|
|||
}
|
||||
}
|
||||
|
||||
if (atBottom) {
|
||||
if (atBottom || messageType.testFlag(Event_RoomSay::ChatHistory)) {
|
||||
verticalScrollBar()->setValue(verticalScrollBar()->maximum());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue