From a4f55362c90bc67f7ad9e61cade305626130b6fe Mon Sep 17 00:00:00 2001 From: RickyRister Date: Sun, 18 May 2025 03:52:22 -0700 Subject: [PATCH] fix --- cockatrice/src/client/tabs/tab_game.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cockatrice/src/client/tabs/tab_game.cpp b/cockatrice/src/client/tabs/tab_game.cpp index 1c8724278..06560d8ed 100644 --- a/cockatrice/src/client/tabs/tab_game.cpp +++ b/cockatrice/src/client/tabs/tab_game.cpp @@ -1688,8 +1688,6 @@ void TabGame::createMessageDock(bool bReplay) connect(messageLog, &MessageLogWidget::showCardInfoPopup, this, &TabGame::showCardInfoPopup); connect(messageLog, &MessageLogWidget::deleteCardInfoPopup, this, &TabGame::deleteCardInfoPopup); - messageLogLayout->addWidget(messageLog); - if (!bReplay) { connect(messageLog, &MessageLogWidget::openMessageDialog, this, &TabGame::openMessageDialog); connect(messageLog, &MessageLogWidget::addMentionTag, this, &TabGame::addMentionTag); @@ -1704,7 +1702,11 @@ void TabGame::createMessageDock(bool bReplay) gameTimer->start(); messageLogLayout->addWidget(timeElapsedLabel); + } + messageLogLayout->addWidget(messageLog); + + if (!bReplay) { sayLabel = new QLabel; sayEdit = new LineEditCompleter; sayEdit->setMaxLength(MAX_TEXT_LENGTH);