From 13c2533f4a2d27f1c9156df2a8ad2851be2016fd Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 28 Nov 2012 00:42:01 +0300 Subject: Fix option "Show chat history" for all tabs. --- src/game.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index 3ed71efcb..8716ba0e4 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -257,7 +257,8 @@ static void createGuiWindows() localChatTab = new ChatTab(chatWindow, _("General")); localChatTab->setAllowHighlight(false); - localChatTab->loadFromLogFile("#General"); + if (config.getBoolValue("showChatHistory")) + localChatTab->loadFromLogFile("#General"); debugChatTab = new ChatTab(chatWindow, _("Debug")); debugChatTab->setAllowHighlight(false); -- cgit v1.2.3-60-g2f50