From ee6b6986d23f923cac072707825b5e68848cabf3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 31 Aug 2017 22:39:18 +0300 Subject: Add default values for per server settings in setup tabs. --- src/gui/widgets/tabs/setup_other.cpp | 2 ++ src/gui/widgets/tabs/setup_players.cpp | 1 + 2 files changed, 3 insertions(+) (limited to 'src/gui/widgets') 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 -- cgit v1.2.3-70-g09d2