summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/setup_chat.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-03 16:01:15 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-03 16:01:15 +0300
commite183ff2fa9bfc3c9f61130209e191dae4ce2a886 (patch)
tree002f0512213543681e9ab710745bc72bfe227f89 /src/gui/widgets/tabs/setup_chat.cpp
parentd155816b5c271a0ed549e19128a54ef2f4a7a72a (diff)
downloadmv-e183ff2fa9bfc3c9f61130209e191dae4ce2a886.tar.gz
mv-e183ff2fa9bfc3c9f61130209e191dae4ce2a886.tar.bz2
mv-e183ff2fa9bfc3c9f61130209e191dae4ce2a886.tar.xz
mv-e183ff2fa9bfc3c9f61130209e191dae4ce2a886.zip
Add option in settings to allow enable/disable sell spam filter.
Diffstat (limited to 'src/gui/widgets/tabs/setup_chat.cpp')
-rw-r--r--src/gui/widgets/tabs/setup_chat.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/widgets/tabs/setup_chat.cpp b/src/gui/widgets/tabs/setup_chat.cpp
index a25613d27..a005524c2 100644
--- a/src/gui/widgets/tabs/setup_chat.cpp
+++ b/src/gui/widgets/tabs/setup_chat.cpp
@@ -275,6 +275,10 @@ Setup_Chat::Setup_Chat(const Widget2 *const widget) :
"less usable space for text."),
"hideChatInput", this, "hideChatInputEvent");
+ // TRANSLATORS: settings option
+ new SetupItemCheckBox(_("Enable trade spam filter"),
+ "", "enableTradeFilter", this, "enableTradeFilterEvent");
+
// TRANSLATORS: settings group
new SetupItemLabel(_("Time"), "", this);