diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-11-28 00:42:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-11-28 00:42:01 +0300 |
commit | 13c2533f4a2d27f1c9156df2a8ad2851be2016fd (patch) | |
tree | 0813ea503e928877f099c474fdf8a7d8c0d1ab12 /src/game.cpp | |
parent | 1fd495484bb43a1e0b0d088874d7bc588d8d38c9 (diff) | |
download | manaplus-13c2533f4a2d27f1c9156df2a8ad2851be2016fd.tar.gz manaplus-13c2533f4a2d27f1c9156df2a8ad2851be2016fd.tar.bz2 manaplus-13c2533f4a2d27f1c9156df2a8ad2851be2016fd.tar.xz manaplus-13c2533f4a2d27f1c9156df2a8ad2851be2016fd.zip |
Fix option "Show chat history" for all tabs.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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); |