diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-31 22:39:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-31 22:39:18 +0300 |
commit | ee6b6986d23f923cac072707825b5e68848cabf3 (patch) | |
tree | bfdea5f6780e2cba4f1a51fd84024c101f630a2c /src/gui/widgets | |
parent | 0ccff23713518cbb237dd636ec68320aa097730c (diff) | |
download | manaplus-ee6b6986d23f923cac072707825b5e68848cabf3.tar.gz manaplus-ee6b6986d23f923cac072707825b5e68848cabf3.tar.bz2 manaplus-ee6b6986d23f923cac072707825b5e68848cabf3.tar.xz manaplus-ee6b6986d23f923cac072707825b5e68848cabf3.zip |
Add default values for per server settings in setup tabs.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/tabs/setup_other.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/tabs/setup_players.cpp | 1 |
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 |