summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-12 16:21:11 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-12 16:21:11 +0300
commit2e8e53fb5e3f2ba7d0d4f55b0c6705d12ec8efa9 (patch)
tree95eabbcc64c3420f3b40110ee84e21bebf9bd557 /src/game.cpp
parent1d689e6492993a66935c7b36ff9827f6c170e166 (diff)
downloadmv-2e8e53fb5e3f2ba7d0d4f55b0c6705d12ec8efa9.tar.gz
mv-2e8e53fb5e3f2ba7d0d4f55b0c6705d12ec8efa9.tar.bz2
mv-2e8e53fb5e3f2ba7d0d4f55b0c6705d12ec8efa9.tar.xz
mv-2e8e53fb5e3f2ba7d0d4f55b0c6705d12ec8efa9.zip
Add log file name into chattab.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 57bed1baf..767dfff5f 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -232,7 +232,7 @@ static void createGuiWindows()
// TRANSLATORS: chat tab header
localChatTab = new ChatTab(chatWindow, _("General"),
- GENERAL_CHANNEL, ChatTabType::INPUT);
+ GENERAL_CHANNEL, "#General", ChatTabType::INPUT);
localChatTab->setAllowHighlight(false);
if (config.getBoolValue("showChatHistory"))
localChatTab->loadFromLogFile("#General");
@@ -249,7 +249,8 @@ static void createGuiWindows()
}
// TRANSLATORS: chat tab header
- debugChatTab = new ChatTab(chatWindow, _("Debug"), "", ChatTabType::DEBUG);
+ debugChatTab = new ChatTab(chatWindow, _("Debug"), "",
+ "#Debug", ChatTabType::DEBUG);
debugChatTab->setAllowHighlight(false);
if (config.getBoolValue("enableTradeTab"))