diff options
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/game.cpp b/src/game.cpp index 18615fa69..22db1dc1f 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -256,14 +256,9 @@ static void createGuiWindows() debugChatTab->setAllowHighlight(false); if (config.getBoolValue("enableTradeTab")) - { - tradeChatTab = new TradeTab(chatWindow); - tradeChatTab->setAllowHighlight(false); - } + chatWindow->addSpecialChannelTab(TRADE_CHANNEL, false); else - { tradeChatTab = nullptr; - } if (config.getBoolValue("enableBattleTab")) { |