diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-14 17:50:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-14 17:52:25 +0300 |
commit | afa7cdd59fe9a80479812eaad73a1eeea58bd5de (patch) | |
tree | 6d3371a66ee823bf116a4780439cfb4906959115 /src/game.cpp | |
parent | 0381a0de69cc21c8886fb0a68cda450d3135d55a (diff) | |
download | manaplus-afa7cdd59fe9a80479812eaad73a1eeea58bd5de.tar.gz manaplus-afa7cdd59fe9a80479812eaad73a1eeea58bd5de.tar.bz2 manaplus-afa7cdd59fe9a80479812eaad73a1eeea58bd5de.tar.xz manaplus-afa7cdd59fe9a80479812eaad73a1eeea58bd5de.zip |
By requesting open #trade channel, really open trade tab.
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")) { |