mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-01-19 00:06:01 -08:00
Added clear chat fix
When clearing the chat, we now clear the last sender. This fixes the issue where you clear the chat and a user continues to talk, you get no indication of who is talking. Now it will show the users name.
This commit is contained in:
@@ -305,6 +305,7 @@ QString ChatView::getNameFromUserList(QMap<QString, UserListTWI *> &userList, QS
|
||||
|
||||
void ChatView::clearChat() {
|
||||
document()->clear();
|
||||
lastSender = "";
|
||||
}
|
||||
|
||||
void ChatView::enterEvent(QEvent * /*event*/)
|
||||
|
||||
Reference in New Issue
Block a user