summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-14 17:50:47 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-14 17:52:25 +0300
commitafa7cdd59fe9a80479812eaad73a1eeea58bd5de (patch)
tree6d3371a66ee823bf116a4780439cfb4906959115 /src/game.cpp
parent0381a0de69cc21c8886fb0a68cda450d3135d55a (diff)
downloadmv-afa7cdd59fe9a80479812eaad73a1eeea58bd5de.tar.gz
mv-afa7cdd59fe9a80479812eaad73a1eeea58bd5de.tar.bz2
mv-afa7cdd59fe9a80479812eaad73a1eeea58bd5de.tar.xz
mv-afa7cdd59fe9a80479812eaad73a1eeea58bd5de.zip
By requesting open #trade channel, really open trade tab.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp7
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"))
{