summaryrefslogtreecommitdiff
path: root/src/gui/setup_chat.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-22 21:10:04 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-22 21:10:04 +0300
commit0fcce97fe86721f4b426250a32f461ad951f6d99 (patch)
tree06180a6d07aa567355b4986d1ffb6cc2102cdb14 /src/gui/setup_chat.cpp
parent0384e13f0faf26e4b2716c3a16d2518bb23fba42 (diff)
downloadmanaplus-0fcce97fe86721f4b426250a32f461ad951f6d99.tar.gz
manaplus-0fcce97fe86721f4b426250a32f461ad951f6d99.tar.bz2
manaplus-0fcce97fe86721f4b426250a32f461ad951f6d99.tar.xz
manaplus-0fcce97fe86721f4b426250a32f461ad951f6d99.zip
Add option to enable/disable language chat tab.
Diffstat (limited to 'src/gui/setup_chat.cpp')
-rw-r--r--src/gui/setup_chat.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/setup_chat.cpp b/src/gui/setup_chat.cpp
index 63777a9a5..45b9e8748 100644
--- a/src/gui/setup_chat.cpp
+++ b/src/gui/setup_chat.cpp
@@ -41,6 +41,8 @@
#include "debug.h"
+extern int serverVersion;
+
Setup_Chat::Setup_Chat(const Widget2 *const widget) :
SetupTabScroll(widget)
{
@@ -119,6 +121,9 @@ Setup_Chat::Setup_Chat(const Widget2 *const widget) :
new SetupItemCheckBox(_("Enable gm tab"), "",
"enableGmTab", this, "enableGmTabEvent");
+ new SetupItemCheckBox(_("Enable language tab"), "",
+ "enableLangTab", this, "enableLangTabEvent", false);
+
new SetupItemCheckBox(_("Enable battle tab"), "",
"enableBattleTab", this, "enableBattleTabEvent");