diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index b3868d4..e895947 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1027,6 +1027,8 @@ void MainWindow::setupchatTab() { QIcon addnewAddrIcon(newAddr); ui->givemeZaddr->setIcon(addnewAddrIcon); + ui->memoTxtChat->setTextColor("White"); + }else{ QPixmap send(":/icons/res/sendBlack.png"); @@ -1044,6 +1046,8 @@ void MainWindow::setupchatTab() { QPixmap newAddr(":/icons/res/getAddrBlack.png"); QIcon addnewAddrIcon(newAddr); ui->givemeZaddr->setIcon(addnewAddrIcon); + + ui->memoTxtChat->setTextColor("Black"); } @@ -1109,11 +1113,6 @@ void ChatMemoEdit::setMaxLen(int len) { updateDisplay(); } -void ChatMemoEdit::setSendChatButton(QPushButton* button) { - this->sendChatButton = button; -} - - void MainWindow::updateChat() { rpc->refreshChat(ui->listChat);