mirror of
https://github.com/Xevion/tcp-chat.git
synced 2025-12-06 05:16:45 -06:00
fix QTextEdit not clearing properly, use minimum contrast in initial client color selection, MINIMUM_CONTRAST constant
This commit is contained in:
@@ -108,6 +108,7 @@ class MainWindow(QMainWindow, Ui_MainWindow):
|
||||
cursor = self.messageBox.textCursor()
|
||||
cursor.setPosition(0)
|
||||
self.messageBox.setTextCursor(cursor)
|
||||
return True
|
||||
return super().eventFilter(obj, event)
|
||||
|
||||
def addMessage(self, nickname: str, message: str, color: str, time: int) -> None:
|
||||
|
||||
Reference in New Issue
Block a user