summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-31 22:39:18 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-31 22:39:18 +0300
commitee6b6986d23f923cac072707825b5e68848cabf3 (patch)
treebfdea5f6780e2cba4f1a51fd84024c101f630a2c /src/gui/widgets/tabs
parent0ccff23713518cbb237dd636ec68320aa097730c (diff)
downloadplus-ee6b6986d23f923cac072707825b5e68848cabf3.tar.gz
plus-ee6b6986d23f923cac072707825b5e68848cabf3.tar.bz2
plus-ee6b6986d23f923cac072707825b5e68848cabf3.tar.xz
plus-ee6b6986d23f923cac072707825b5e68848cabf3.zip
Add default values for per server settings in setup tabs.
Diffstat (limited to 'src/gui/widgets/tabs')
-rw-r--r--src/gui/widgets/tabs/setup_other.cpp2
-rw-r--r--src/gui/widgets/tabs/setup_players.cpp1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/tabs/setup_other.cpp b/src/gui/widgets/tabs/setup_other.cpp
index 656192f18..6587b1172 100644
--- a/src/gui/widgets/tabs/setup_other.cpp
+++ b/src/gui/widgets/tabs/setup_other.cpp
@@ -306,12 +306,14 @@ Setup_Other::Setup_Other(const Widget2 *const widget) :
new SetupItemCheckBox(_("Enable guild bot support and disable native "
"guild support"), "", "enableGuildBot", this,
"enableGuildBotEvent",
+ "0",
MainConfig_false);
// TRANSLATORS: settings option
new SetupItemCheckBox(_("Enable manamarket bot support"),
"", "enableManaMarketBot", this,
"enableManaMarketBotEvent",
+ "0",
MainConfig_false);
diff --git a/src/gui/widgets/tabs/setup_players.cpp b/src/gui/widgets/tabs/setup_players.cpp
index 97865c91e..c04f6fc67 100644
--- a/src/gui/widgets/tabs/setup_players.cpp
+++ b/src/gui/widgets/tabs/setup_players.cpp
@@ -181,6 +181,7 @@ Setup_Players::Setup_Players(const Widget2 *const widget) :
// TRANSLATORS: settings option
new SetupItemCheckBox(_("Enable remote commands"),
"", "enableRemoteCommands", this, "enableRemoteCommandsEvent",
+ "1",
MainConfig_false);
// TRANSLATORS: settings option