summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs
diff options
context:
space:
mode:
authorFedja Beader <fedja@protonmail.ch>2024-10-11 23:15:46 +0000
committerFedja Beader <fedja@protonmail.ch>2024-10-11 23:15:46 +0000
commitdd12272279a0b58c5fea170d28e13395c23906a8 (patch)
tree046e064337a51f52cfa74a9e3063d599da4f003b /src/gui/widgets/tabs
parent38baa32f47092ef0a140a3aa94bf50f89786ec86 (diff)
downloadmv-dd12272279a0b58c5fea170d28e13395c23906a8.tar.gz
mv-dd12272279a0b58c5fea170d28e13395c23906a8.tar.bz2
mv-dd12272279a0b58c5fea170d28e13395c23906a8.tar.xz
mv-dd12272279a0b58c5fea170d28e13395c23906a8.zip
Move trade filtering setting to immidiately under trade tab & fix description/tooltip.
**** mana/plus!105
Diffstat (limited to 'src/gui/widgets/tabs')
-rw-r--r--src/gui/widgets/tabs/setup_chat.cpp19
1 files changed, 9 insertions, 10 deletions
diff --git a/src/gui/widgets/tabs/setup_chat.cpp b/src/gui/widgets/tabs/setup_chat.cpp
index ae9043962..17bc6cbcd 100644
--- a/src/gui/widgets/tabs/setup_chat.cpp
+++ b/src/gui/widgets/tabs/setup_chat.cpp
@@ -238,12 +238,16 @@ Setup_Chat::Setup_Chat(const Widget2 *const widget) :
// TRANSLATORS: settings option
new SetupItemCheckBox(_("Enable trade tab"),
+ "", "enableTradeTab", this, "enableTradeTabEvent",
+ MainConfig_true);
+
+ // TRANSLATORS: settings option
+ new SetupItemCheckBox(_("Enable trade spam filter"),
// TRANSLATORS: settings description
- _("Enables trade tab. Trade tab is basically some filter. Messages "
- "containing words typical for trades will go to Trade tab. This "
- "will make General tab less noisy. If this setting is disabled, all "
- "trade related players messages will stay in General tab."),
- "enableTradeTab", this, "enableTradeTabEvent",
+ _("Enables trade message filtering. Messages containg words typical "
+ "for trades will go to the Trade tab. If this setting is disabled, "
+ "all trade-related messages will stay in General tab."),
+ "enableTradeFilter", this, "enableTradeFilterEvent",
MainConfig_true);
// TRANSLATORS: settings option
@@ -305,11 +309,6 @@ Setup_Chat::Setup_Chat(const Widget2 *const widget) :
"hideChatInput", this, "hideChatInputEvent",
MainConfig_true);
- // TRANSLATORS: settings option
- new SetupItemCheckBox(_("Enable trade spam filter"),
- "", "enableTradeFilter", this, "enableTradeFilterEvent",
- MainConfig_true);
-
// TRANSLATORS: settings group
new SetupItemLabel(_("Time"), "", this,