From 2e8e53fb5e3f2ba7d0d4f55b0c6705d12ec8efa9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 12 Oct 2014 16:21:11 +0300 Subject: Add log file name into chattab. --- src/game.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/game.cpp') 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")) -- cgit v1.2.3-60-g2f50